diff --git a/src/js/modules/webslides.js b/src/js/modules/webslides.js index 1acf4cf..51a91ed 100644 --- a/src/js/modules/webslides.js +++ b/src/js/modules/webslides.js @@ -36,7 +36,8 @@ export default class WebSlides { * @param {boolean} loop Whether to go to first slide from last one or not. * @param {number} minWheelDelta Controls the amount of needed scroll to * trigger navigation. - * @param {boolean} navigateOnScroll Whether scroll can trigger navigation or not. + * @param {boolean} navigateOnScroll Whether scroll can trigger navigation or + * not. * @param {number} scrollWait Controls the amount of time to wait till * navigation can occur again with scroll. * @param {number} slideOffset Controls the amount of needed touch delta to diff --git a/src/js/utils/dom.js b/src/js/utils/dom.js index ff1ee77..a9d5c39 100644 --- a/src/js/utils/dom.js +++ b/src/js/utils/dom.js @@ -161,8 +161,9 @@ export default class DOM { let result = false; if (document.activeElement) { - const isContentEditable = document.activeElement - .contentEditable !== 'inherit' && document.activeElement.contentEditable !== undefined; + const isContentEditable = + document.activeElement.contentEditable !== 'inherit' && + document.activeElement.contentEditable !== undefined; const isInput = ['INPUT', 'SELECT', 'OPTION', 'TEXTAREA'] .indexOf(document.activeElement.tagName) > -1; result = isInput || isContentEditable;