4,114
edits
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(); | |||
}); | }); |