From 7aa434581e8e5849760c9627c1a553f2d5fa0bbf Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Mon, 14 Sep 2020 12:17:38 +0200 Subject: [PATCH] Fixed linter warning --- src/selection/SelectionHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selection/SelectionHandler.js b/src/selection/SelectionHandler.js index 78482fc..38b1867 100644 --- a/src/selection/SelectionHandler.js +++ b/src/selection/SelectionHandler.js @@ -4,7 +4,7 @@ import EventEmitter from 'tiny-emitter'; const IS_TOUCH = 'ontouchstart' in window || navigator.maxTouchPoints > 0; const IS_INTERNET_EXPLORER = - window?.navigator?.userAgent.match(/(MSIE|Trident)/); + navigator?.userAgent.match(/(MSIE|Trident)/); /** Tests whether maybeChildEl is contained in containerEl **/ const contains = (containerEl, maybeChildEl) => {