r96202 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96201‎ | r96202 | r96203 >
Date:15:50, 3 September 2011
Author:santhosh
Status:ok (Comments)
Tags:
Comment:
Workaround for IE bug - activex components like input fields coming on top of everything.
Modified paths:
  • /trunk/extensions/WebFonts/js/webfonts.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WebFonts/js/webfonts.js
@@ -262,6 +262,15 @@
263263 //if rtl, add to the right of top personal links. Else, to the left
264264 var fn = $('body').hasClass( 'rtl' ) ? "append" : "prepend";
265265 $('#p-personal ul:first')[fn]( $li );
 266+ //workaround for IE bug - activex components like input fields coming on top of everything.
 267+ //TODO: is there a better solution other than hiding it on hover?
 268+ if ( $.browser.msie ) {
 269+ $("#webfonts-menu").hover(function(){
 270+ $("#searchform").css({ visibility: "hidden" });
 271+ },function(){
 272+ $("#searchform").css({ visibility: "visible" });
 273+ });
 274+ }
266275 }
267276 };
268277

Comments

#Comment by Nikerabbit (talk | contribs)   05:42, 9 September 2011

Marking this OK for now, but if Narayam changes this solution, should probably change here too.

Status & tagging log