Index: trunk/extensions/UsabilityInitiative/NavigableTOC/NavigableTOC.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | /* Configuration */ |
20 | 20 | |
21 | 21 | // Bump the version number every time you change any of the .css/.js files |
22 | | -$wgNavigableTOCStyleVersion = 0; |
| 22 | +$wgNavigableTOCStyleVersion = 1; |
23 | 23 | |
24 | 24 | /* Setup */ |
25 | 25 | |
Index: trunk/extensions/UsabilityInitiative/NavigableTOC/NavigableTOC.js |
— | — | @@ -140,8 +140,8 @@ |
141 | 141 | }); |
142 | 142 | } |
143 | 143 | $( '.toc:last * li a' ).click( function(e) { |
144 | | - if( typeof $(this).data( 'offset' ) != 'undefined' ) |
145 | | - $( '#wpTextbox1' ).scrollToPosition( $(this).data( 'offset' ) ); |
| 144 | + if( typeof jQuery(this).data( 'offset' ) != 'undefined' ) |
| 145 | + jQuery( '#wpTextbox1' ).scrollToPosition( jQuery(this).data( 'offset' ) ); |
146 | 146 | e.preventDefault(); |
147 | 147 | }); |
148 | 148 | |