diff options
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/settings/popup-elements.js | 2 | ||||
-rw-r--r-- | ext/bg/js/settings/profile-controller.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/settings/popup-elements.js b/ext/bg/js/settings/popup-elements.js index decb39e1..15de91e8 100644 --- a/ext/bg/js/settings/popup-elements.js +++ b/ext/bg/js/settings/popup-elements.js @@ -181,7 +181,7 @@ class StatusFooter extends PopupElement { } if (active) { - target.dataset.active = true; + target.dataset.active = 'true'; if (!this.isVisible()) { this.setVisible(true); } diff --git a/ext/bg/js/settings/profile-controller.js b/ext/bg/js/settings/profile-controller.js index 286ce006..aa74b419 100644 --- a/ext/bg/js/settings/profile-controller.js +++ b/ext/bg/js/settings/profile-controller.js @@ -298,7 +298,7 @@ class ProfileController { if (profile === null || this.profileCount <= 1) { return; } this._removeProfileNameElement.textContent = profile.name; - this._profileRemoveModal.node.dataset.profileIndex = profileIndex; + this._profileRemoveModal.node.dataset.profileIndex = `${profileIndex}`; this._profileRemoveModal.setVisible(true); } |