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

Revision: 90971
Author:   santhosh
Date:     2011-06-28 15:45:17 +0000 (Tue, 28 Jun 2011)
Log Message:
-----------
Added id attribute for the li tag of toolbar

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

Modified: trunk/extensions/WebFonts/js/webfonts.js
===================================================================
--- trunk/extensions/WebFonts/js/webfonts.js    2011-06-28 15:35:39 UTC (rev 
90970)
+++ trunk/extensions/WebFonts/js/webfonts.js    2011-06-28 15:45:17 UTC (rev 
90971)
@@ -121,7 +121,11 @@
                          });
                        });
                },
-
+                 
+                /**
+                 * Setup the font selection menu. 
+                 * It also apply the font from cookie, if any.
+                 */
                setup: function() {
                        var haveSchemes = false;
                        var config = mw.config.get( "wgWebFontsAvailable" );
@@ -191,7 +195,7 @@
                        .append( $menudiv );
 
                        //this is the fonts link
-                       var $li = $( '<li />' )
+                       var $li = $( '<li />' ).attr('id','pt-webfont')
                        .append( $div );
 
                        //add to the left of top personal links


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to