From 5d93b5bd493f124991b292814e896e3716c86dc0 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 13 Aug 2022 10:26:48 -0700 Subject: [PATCH] Fix page loading. --- packages/mindplot/src/components/ScreenManager.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/mindplot/src/components/ScreenManager.ts b/packages/mindplot/src/components/ScreenManager.ts index d290e301..104e213c 100644 --- a/packages/mindplot/src/components/ScreenManager.ts +++ b/packages/mindplot/src/components/ScreenManager.ts @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import $ from 'jquery'; import { $assert } from '@wisemapping/core-js'; import { Point } from '@wisemapping/web2d'; // https://stackoverflow.com/questions/60357083/does-not-use-passive-listeners-to-improve-scrolling-performance-lighthouse-repo @@ -22,7 +23,7 @@ import { Point } from '@wisemapping/web2d'; // eslint-disable-next-line import/extensions import regiterTouchHandler from '../../../../libraries/jquery.touchevent'; -regiterTouchHandler(); +regiterTouchHandler($); class ScreenManager { private _divContainer: JQuery;