MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1,230: Line 1,230:
     $(".oo-ui-actionFieldLayout-button .oo-ui-buttonInputWidget").remove();
     $(".oo-ui-actionFieldLayout-button .oo-ui-buttonInputWidget").remove();


     document.querySelector('#submit a').addEventListener('click', function(event) {
     document.querySelector('#submit').addEventListener('click', function(event) {
         event.preventDefault(); // Prevent the default link behavior
         event.preventDefault(); // Prevent the default link behavior


Navigation menu