http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96568
Revision: 96568
Author: catrope
Date: 2011-09-08 14:46:21 +0000 (Thu, 08 Sep 2011)
Log Message:
-----------
Remove duplicate building of $checkbox introduced in r96142
Modified Paths:
--------------
trunk/extensions/Narayam/js/ext.narayam.core.js
Modified: trunk/extensions/Narayam/js/ext.narayam.core.js
===================================================================
--- trunk/extensions/Narayam/js/ext.narayam.core.js 2011-09-08 14:44:42 UTC
(rev 96567)
+++ trunk/extensions/Narayam/js/ext.narayam.core.js 2011-09-08 14:46:21 UTC
(rev 96568)
@@ -544,11 +544,6 @@
// 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 );
- // Build enable/disable checkbox and label
- $checkbox = $( '<input type="checkbox" id="narayam-toggle" />'
);
- $checkbox
- .attr( 'title', mw.msg( 'narayam-checkbox-tooltip' ) )
- .click( that.toggle );
// 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?
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs