MediaWiki:Common.js: Difference between revisions
mNo edit summary Tag: Manual revert |
mNo edit summary Tag: Reverted |
||
| Line 146: | Line 146: | ||
// Remove default link tooltip for citation needed links | // Remove default link tooltip for citation needed links | ||
$('.editorial-notation-tooltip a').removeAttr('title'); | $('.editorial-notation-tooltip a').removeAttr('title'); | ||
}); | |||
// Force a simpler search form to always use the full-text search results | |||
$(document).ready(function() { | |||
if (window.location.href.indexOf("search=") !== -1) { | |||
$('form#search').submit(); | |||
} | |||
}); | }); | ||