diff --git a/src/gui/html/js/dialog.js b/src/gui/html/js/dialog.js index 630747ba..93df9f69 100644 --- a/src/gui/html/js/dialog.js +++ b/src/gui/html/js/dialog.js @@ -9,7 +9,7 @@ root.loot.Dialog = factory(); } }(this, () => { - return class Dialog { + return class { static showProgress(text) { const progressDialog = document.getElementById('progressDialog'); progressDialog.getElementsByTagName('p')[0].textContent = text; diff --git a/src/gui/html/js/filters.js b/src/gui/html/js/filters.js index ca540ea3..36c97852 100644 --- a/src/gui/html/js/filters.js +++ b/src/gui/html/js/filters.js @@ -9,7 +9,7 @@ root.loot.Filters = factory(); } }(this, () => { - return class Filters { + return class { constructor(l10n) { /* Plugin filters */ this.hideMessagelessPlugins = false; diff --git a/src/gui/html/js/game.js b/src/gui/html/js/game.js index 3f1d13a9..809106af 100644 --- a/src/gui/html/js/game.js +++ b/src/gui/html/js/game.js @@ -10,7 +10,7 @@ root.loot.Game = factory(root.marked); } }(this, (marked) => { - return class Game { + return class { constructor(obj, l10n) { this.folder = obj.folder || ''; this.globalMessages = obj.globalMessages || []; diff --git a/src/gui/html/js/translator.js b/src/gui/html/js/translator.js index 1bffcfc5..80d389ac 100644 --- a/src/gui/html/js/translator.js +++ b/src/gui/html/js/translator.js @@ -12,7 +12,7 @@ root.loot.Translator = factory(root.Jed, root.jedGettextParser); } }(this, (Jed, jedGettextParser) => { - return class Translator { + return class { /* Returns a Promise */ constructor(locale) { this.locale = locale || 'en';