summaryrefslogtreecommitdiffstats
path: root/browser/components/preferences/translations.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/preferences/translations.js')
-rw-r--r--browser/components/preferences/translations.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/browser/components/preferences/translations.js b/browser/components/preferences/translations.js
new file mode 100644
index 0000000000..c9cfe472ac
--- /dev/null
+++ b/browser/components/preferences/translations.js
@@ -0,0 +1,15 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/* import-globals-from preferences.js */
+
+let gTranslationsPane = {
+ init() {
+ document
+ .getElementById("translations-settings-back-button")
+ .addEventListener("click", function () {
+ gotoPref("general");
+ });
+ },
+};