Index: trunk/extensions/Translate/utils/JsSelectToInput.php |
— | — | @@ -67,8 +67,8 @@ |
68 | 68 | static $done = false; |
69 | 69 | if ( $done ) return; |
70 | 70 | |
71 | | - global $wgOut, $wgScriptPath; |
72 | | - $wgOut->addScriptFile( "$wgScriptPath/extensions/Translate/utils/JsSelectToInput.js" ); |
| 71 | + global $wgOut; |
| 72 | + $wgOut->addScriptFile( TranslateUtils::assetPath( 'utils/JsSelectToInput.js' ) ); |
73 | 73 | } |
74 | 74 | |
75 | 75 | } |
\ No newline at end of file |