diff --git a/.gitignore b/.gitignore index 4726976..514efce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ dist/ node_modules/ -pnpm-lock.yaml \ No newline at end of file +pnpm-lock.yaml +.vercel diff --git a/js/darkmode.js b/js/darkmode.js index 565e32d..5bf6a9a 100644 --- a/js/darkmode.js +++ b/js/darkmode.js @@ -4,7 +4,7 @@ import { selectClass, selectId, selectTag, -} from "./helperFunctions"; +} from "./helperFunctions.js"; global.querySelectorAll = document.querySelectorAll; diff --git a/js/main.js b/js/main.js index 61bf749..a09fb16 100644 --- a/js/main.js +++ b/js/main.js @@ -1,4 +1,4 @@ -import { selectId, pushStyles, selectTag, addClasslist } from './helperFunctions'; +import { selectId, pushStyles, selectTag, addClasslist } from './helperFunctions.js'; $(function() { function toggleVisibility(selector, condition) { diff --git a/js/popup.js b/js/popup.js index 7945aae..202a1ab 100644 --- a/js/popup.js +++ b/js/popup.js @@ -1,4 +1,4 @@ -import { selectId, pushStyles } from "./helperFunctions"; +import { selectId, pushStyles } from "./helperFunctions.js"; window.onload = function() { if (!localStorage.getItem('dontShowPopup')) {