Skip to content

Commit

Permalink
Use URL that supports proper caching.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohsuke committed Mar 20, 2012
1 parent c3a04bb commit d0731c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ THE SOFTWARE.
<div id='l10n-dialog' class='dialog' />
<div id="l10n-footer" style="display:none; float:left">
<a href='#' onclick="return showTranslationDialog();">
<img src="${rootURL}/plugin/translation/flags.png" />
<img src="${resURL}/plugin/translation/flags.png" />
${%Help us localize this page}
</a>
</div>
Expand All @@ -44,7 +44,7 @@ THE SOFTWARE.

function showTranslationDialog() {
if(!translation.launchDialog)
loadScript("${rootURL}/plugin/translation/dialog.js");
loadScript("${resURL}/plugin/translation/dialog.js");
else
translation.launchDialog();
return false; <!-- cancel the event -->
Expand Down

0 comments on commit d0731c3

Please sign in to comment.