We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6271cc3 commit 0da49acCopy full SHA for 0da49ac
1 file changed
js/config.js
@@ -1,7 +1,6 @@
1
import { getRoundingUnit, ROUNDING_UNIT_MINUTE_KEY, autoSetTheme } from './lib/utils.js';
2
import Multilingualization from './lib/multilingualization.js';
3
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';
5
6
/**
7
* Code to be executed upon completion of form loading
@@ -41,6 +40,7 @@ document.addEventListener('DOMContentLoaded', async () => {
41
40
42
// Synchronize when the setting changes
43
window.addEventListener('storage', (event) => {
+ const $ = bootstrap.$;
44
if (event.storageArea === localStorage) {
45
const target = event.key === ROUNDING_UNIT_MINUTE_KEY ? $('select') : $(`[data-translate='${event.key}']`);
46
if (target) {
0 commit comments