MediaWiki:Common.js: Difference between revisions

mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Manual revert
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');
});
$(document).ready(function() {
    // Ensure we are not in the advanced search mode
    if ($('#searchInput').length > 0 && $('#searchInput').val()) {
        $('form#search').submit();
    }
});
});