MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 766: Line 766:
     }).remove();
     }).remove();
      
      
    // Edits regarding Search Results
     // Define the new form HTML as a string
     // Define the new form HTML as a string
var newFormHtml = '<form action="/index.php" id="searchform">' +
var newFormHtml = '<form action="/index.php" id="searchform">' +
Line 781: Line 782:
     // Target the button based on its complex class structure
     // Target the button based on its complex class structure
     $(".oo-ui-actionFieldLayout-button .oo-ui-buttonInputWidget").remove();
     $(".oo-ui-actionFieldLayout-button .oo-ui-buttonInputWidget").remove();
   
    // For each div with the class 'mw-search-result-heading', prepend the span element
    $(".mw-search-result-heading").prepend("<span>↪ </span>");
});
});

Navigation menu