https://www.mediawiki.org/wiki/Special:Code/MediaWiki/103378

Revision: 103378
Author:   ckepper
Date:     2011-11-16 20:41:23 +0000 (Wed, 16 Nov 2011)
Log Message:
-----------
fixed JavaScript Tooltips for adding or removing books from a collection

Modified Paths:
--------------
    trunk/extensions/Collection/js/bookcreator.js

Modified: trunk/extensions/Collection/js/bookcreator.js
===================================================================
--- trunk/extensions/Collection/js/bookcreator.js       2011-11-16 20:39:48 UTC 
(rev 103377)
+++ trunk/extensions/Collection/js/bookcreator.js       2011-11-16 20:41:23 UTC 
(rev 103378)
@@ -166,7 +166,7 @@
        var prefix = wgArticlePath.replace(/\$1/, '');
        $('#bodyContent '
                + 'a[href^=' + prefix + ']' // URL starts with prefix of 
wgArticlePath
-               + ':not(a[href~=index.php])' // URL doesn't contain index.php 
(simplification!)
+               + ':not(a[href~="index.php"])' // URL doesn't contain index.php 
(simplification!)
                + '[title!=]' // title attribute is not empty
                + '[rel!=nofollow]'
                + ':not(.external)'


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

Reply via email to