diff --git a/msgbox/msgbox.js b/msgbox/msgbox.js index c7b5cae7..dbb4f361 100644 --- a/msgbox/msgbox.js +++ b/msgbox/msgbox.js @@ -116,8 +116,8 @@ function messageBox({ messageBox.element = null; messageBox.resolve = null; if (messageBox.isPopup) { - document.body.style.minWidth = ""; - document.body.style.minHeight = ""; + document.body.style.minWidth = ''; + document.body.style.minHeight = ''; } } } diff --git a/popup/popup.js b/popup/popup.js index 1e732f7b..08433fdc 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -1,4 +1,4 @@ -/* global configDialog */ +/* global configDialog hotkeys */ 'use strict'; diff --git a/vendor-overwrites/colorpicker/colorpicker.js b/vendor-overwrites/colorpicker/colorpicker.js index 7e24631f..3cd46991 100644 --- a/vendor-overwrites/colorpicker/colorpicker.js +++ b/vendor-overwrites/colorpicker/colorpicker.js @@ -606,7 +606,7 @@ } } - function onClick(event) { + function onClick() { setTimeout(() => { if (!document.activeElement.closest('.colorpicker-popup')) { hide();