summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/tab-content.js
diff options
context:
space:
mode:
authorAscrod <32915892+Ascrod@users.noreply.github.com>2018-10-11 23:34:52 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2018-10-11 23:34:52 -0400
commit98bf922150a1ba5fe248735b377deca3dbb62043 (patch)
tree220c8eea5a6fe778ebc7ae46714c8733d90e2655 /application/basilisk/base/content/tab-content.js
parentea5b5766a92bc13fc7eb9dc484e133a7a0638d50 (diff)
downloadUXP-98bf922150a1ba5fe248735b377deca3dbb62043.tar
UXP-98bf922150a1ba5fe248735b377deca3dbb62043.tar.gz
UXP-98bf922150a1ba5fe248735b377deca3dbb62043.tar.lz
UXP-98bf922150a1ba5fe248735b377deca3dbb62043.tar.xz
UXP-98bf922150a1ba5fe248735b377deca3dbb62043.zip
Issue #832 Part 1: Remove modules, chrome, and preferences.
Diffstat (limited to 'application/basilisk/base/content/tab-content.js')
-rw-r--r--application/basilisk/base/content/tab-content.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/application/basilisk/base/content/tab-content.js b/application/basilisk/base/content/tab-content.js
index 11a9fabce..6d053dd2b 100644
--- a/application/basilisk/base/content/tab-content.js
+++ b/application/basilisk/base/content/tab-content.js
@@ -558,13 +558,6 @@ var PageStyleHandler = {
};
PageStyleHandler.init();
-// Keep a reference to the translation content handler to avoid it it being GC'ed.
-var trHandler = null;
-if (Services.prefs.getBoolPref("browser.translation.detectLanguage")) {
- Cu.import("resource:///modules/translation/TranslationContentHandler.jsm");
- trHandler = new TranslationContentHandler(global, docShell);
-}
-
function gKeywordURIFixup(fixupInfo) {
fixupInfo.QueryInterface(Ci.nsIURIFixupInfo);
if (!fixupInfo.consumer) {