MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 778: Line 778:
     // Replace the div with id="searchText" with the new form
     // Replace the div with id="searchText" with the new form
     $('#searchText').replaceWith(newFormHtml);
     $('#searchText').replaceWith(newFormHtml);
   
    // Target the button based on its complex class structure
    $(".oo-ui-actionFieldLayout-button .oo-ui-buttonInputWidget").remove();
});
});

Navigation menu