Index: trunk/extensions/MobileFrontend/javascripts/toggle.js |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | } |
50 | 50 | } |
51 | 51 | checkHash(); |
52 | | - for ( a = document.getElementsByTagName( 'a' ), i = 0; i < a.length; i++ ) { |
| 52 | + for ( a = u( '.content_block a' ) || [], i = 0; i < a.length; i++ ) { |
53 | 53 | u( a[i] ).bind( 'click', checkHash ); |
54 | 54 | } |
55 | 55 | } |