From 7b3a3ba200edf4d28d297d4c9a9fc3af261f1ebd Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Sat, 22 Jul 2017 15:24:51 +0900 Subject: [PATCH] Fix by eslint --- browser/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/index.js b/browser/main/index.js index f75416c9..15553150 100644 --- a/browser/main/index.js +++ b/browser/main/index.js @@ -25,7 +25,7 @@ document.addEventListener('dragover', function (e) { document.addEventListener('click', function (e) { const className = e.target.className - if (!className && typeof(className) !== 'string') return + if (!className && typeof (className) !== 'string') return const isInfoButton = className.includes('infoButton') const isInfoPanel = e.target.offsetParent.className.includes('infoPanel') if (isInfoButton || isInfoPanel) return