diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
commit | d9022f63880ce039446fba8364f68e656b7bf4cb (patch) | |
tree | 16b40fbf17bf7c9ee6f4ead25b16dd192378050a /resources/mediawiki.special/mediawiki.special.search.js | |
parent | 27cf83d177256813e2e802241085fce5dd0f3fb9 (diff) |
Update to MediaWiki 1.19.0
Diffstat (limited to 'resources/mediawiki.special/mediawiki.special.search.js')
-rw-r--r-- | resources/mediawiki.special/mediawiki.special.search.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/mediawiki.special/mediawiki.special.search.js b/resources/mediawiki.special/mediawiki.special.search.js index bac27fc6..8865d04c 100644 --- a/resources/mediawiki.special/mediawiki.special.search.js +++ b/resources/mediawiki.special/mediawiki.special.search.js @@ -22,7 +22,7 @@ var headerLinks = $('.search-types a'); $('#searchText, #powerSearchText').change(function() { var searchterm = $(this).val(); headerLinks.each( function() { - var parts = this.href.split( 'search=' ); + var parts = $(this).attr('href').split( 'search=' ); var lastpart = ''; var prefix = 'search='; if( parts.length > 1 && parts[1].indexOf('&') >= 0 ) { @@ -34,4 +34,4 @@ $('#searchText, #powerSearchText').change(function() { }); }).trigger('change'); -} );
\ No newline at end of file +} ); |