Index: trunk/extensions/Translate/TranslatePage.php |
— | — | @@ -491,7 +491,7 @@ |
492 | 492 | |
493 | 493 | if ( $hasSubblocks ) { |
494 | 494 | $msg = wfMsgExt( 'translate-showsub', 'parsemag', $wgLang->formatNum( count( $blocks ) ) ); |
495 | | - $desc .= Html::element( 'a', array( 'onclick' => "$('#$subid').toggle()", 'class' => 'mw-sp-showmore' ), $msg ); |
| 495 | + $desc .= Html::element( 'a', array( 'onclick' => "jQuery('#$subid').toggle()", 'class' => 'mw-sp-showmore' ), $msg ); |
496 | 496 | } |
497 | 497 | |
498 | 498 | $out = "\n<tr><td>$label</td>\n<td>$desc</td></tr>\n"; |