From: Aryeh Gregor Date: Sun, 2 Jan 2011 00:10:42 +0000 (+0000) Subject: Fix broken blacklisting code from r79363 X-Git-Tag: 1.31.0-rc.0~32903 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=82b8dc351327cf55219b2dba0984da625bf3a01d;p=lhc%2Fweb%2Fwiklou.git Fix broken blacklisting code from r79363 Problem reported by Krinkle -- the code I copy-pasted from the wiki page was wrong, and apparently I didn't test properly in Opera. --- diff --git a/skins/common/mwsuggest.js b/skins/common/mwsuggest.js index 9bc38c65ee..d9bc737e82 100644 --- a/skins/common/mwsuggest.js +++ b/skins/common/mwsuggest.js @@ -52,7 +52,7 @@ window.os_animation_timer = null; * blacklist future versions too. */ window.os_use_datalist = 'list' in document.createElement( 'input' ) - && $.client.profile.name != 'opera'; + && $.client.profile().name != 'opera'; /** Timeout timer class that will fetch the results */ window.os_Timer = function( id, r, query ) {