Skip to content

Commit 0da49ac

Browse files
committed
🐛 '$' not found
1 parent 6271cc3 commit 0da49ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { getRoundingUnit, ROUNDING_UNIT_MINUTE_KEY, autoSetTheme } from './lib/utils.js';
22
import Multilingualization from './lib/multilingualization.js';
33
import { $$one, $$all } from './lib/indolence.min.js';
4-
import { $ } from 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js';
54

65
/**
76
* Code to be executed upon completion of form loading
@@ -41,6 +40,7 @@ document.addEventListener('DOMContentLoaded', async () => {
4140

4241
// Synchronize when the setting changes
4342
window.addEventListener('storage', (event) => {
43+
const $ = bootstrap.$;
4444
if (event.storageArea === localStorage) {
4545
const target = event.key === ROUNDING_UNIT_MINUTE_KEY ? $('select') : $(`[data-translate='${event.key}']`);
4646
if (target) {

0 commit comments

Comments
 (0)