From d34b8c5eb77c17c93df57c7e583bdc4cfafc741f Mon Sep 17 00:00:00 2001 From: MDMCDC Date: Mon, 17 Oct 2022 18:03:48 +0700 Subject: [PATCH] using globalThis instead of window (#1315) --- src/js/tabler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/tabler.js b/src/js/tabler.js index 916237191..1c1430e45 100644 --- a/src/js/tabler.js +++ b/src/js/tabler.js @@ -11,5 +11,5 @@ import './src/toast'; import * as bootstrap from 'bootstrap'; import * as tabler from './src/tabler'; -window.bootstrap = bootstrap; -window.tabler = tabler; +globalThis.bootstrap = bootstrap; +globalThis.tabler = tabler;