Fix: linter issue

This commit is contained in:
eight 2017-12-05 09:31:11 +08:00
parent f88d8a2566
commit e498105521
3 changed files with 4 additions and 4 deletions

View File

@ -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 = '';
}
}
}

View File

@ -1,4 +1,4 @@
/* global configDialog */
/* global configDialog hotkeys */
'use strict';

View File

@ -606,7 +606,7 @@
}
}
function onClick(event) {
function onClick() {
setTimeout(() => {
if (!document.activeElement.closest('.colorpicker-popup')) {
hide();