Skip to content

Commit

Permalink
Fix other localization issues in Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaier committed Sep 29, 2014
1 parent 76dbc5b commit 7fdca50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extension/content/js/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ lazyImport(this, "resource://scriptish/utils/Scriptish_localizeDOM.js", ["Script
lazyUtil(this, "getScriptHeader");
lazyUtil(this, "stringBundle");

Scriptish_localizeOnLoad(this);
Scriptish_localizeOnLoad(window);

function $(id) document.getElementById(id);
function $t(text) document.createTextNode(text);
Expand Down
2 changes: 1 addition & 1 deletion extension/content/js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function checkSync() {
syncOp("editor");
}

Scriptish_localizeOnLoad(this);
Scriptish_localizeOnLoad(window);

addEventListener("load", function init() {
removeEventListener("load", init, false);
Expand Down
2 changes: 1 addition & 1 deletion extension/content/js/script-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ lazyUtil(this, "stringBundle");
var $ = function(aID) document.getElementById(aID);
var script;

Scriptish_localizeOnLoad(this);
Scriptish_localizeOnLoad(window);

window.addEventListener("DOMContentLoaded", function() {
var scriptID = window.location.search.match(/[\?&]id=([^&,]+)/i);
Expand Down

0 comments on commit 7fdca50

Please sign in to comment.