1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Fix by eslint

This commit is contained in:
asmsuechan
2017-07-22 15:24:51 +09:00
parent 8369832585
commit 7b3a3ba200

View File

@@ -25,7 +25,7 @@ document.addEventListener('dragover', function (e) {
document.addEventListener('click', function (e) { document.addEventListener('click', function (e) {
const className = e.target.className const className = e.target.className
if (!className && typeof(className) !== 'string') return if (!className && typeof (className) !== 'string') return
const isInfoButton = className.includes('infoButton') const isInfoButton = className.includes('infoButton')
const isInfoPanel = e.target.offsetParent.className.includes('infoPanel') const isInfoPanel = e.target.offsetParent.className.includes('infoPanel')
if (isInfoButton || isInfoPanel) return if (isInfoButton || isInfoPanel) return