http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96202

Revision: 96202
Author:   santhosh
Date:     2011-09-03 15:50:01 +0000 (Sat, 03 Sep 2011)
Log Message:
-----------
Workaround for IE bug - activex components like input fields coming on top of 
everything. 

Modified Paths:
--------------
    trunk/extensions/WebFonts/js/webfonts.js

Modified: trunk/extensions/WebFonts/js/webfonts.js
===================================================================
--- trunk/extensions/WebFonts/js/webfonts.js    2011-09-03 15:41:55 UTC (rev 
96201)
+++ trunk/extensions/WebFonts/js/webfonts.js    2011-09-03 15:50:01 UTC (rev 
96202)
@@ -262,6 +262,15 @@
                        //if rtl, add to the right of top personal links. Else, 
to the left
                        var fn = $('body').hasClass( 'rtl' ) ? "append" : 
"prepend";
                        $('#p-personal ul:first')[fn]( $li );
+                       //workaround for IE bug - activex components like input 
fields coming on top of everything.
+                       //TODO: is there a better solution other than hiding it 
on hover?
+                       if ( $.browser.msie ) { 
+                               $("#webfonts-menu").hover(function(){
+                                       $("#searchform").css({ visibility: 
"hidden" });
+                               },function(){
+                                       $("#searchform").css({ visibility: 
"visible" });
+                               });
+                       }
                }
        };
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to