33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-11 05:42:27 +00:00

Merge pull request #211 from dryabov/patch-76

fix console error message if jQuery is not loaded
This commit is contained in:
Denis Ryabov 2023-07-28 11:37:48 +03:00 committed by GitHub
commit 5dd1fe09d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,8 @@
new bootstrap.Tooltip(document.getElementById('jedchecker'), {container: 'body', selector: '[data-bs-toggle=tooltip]'}); new bootstrap.Tooltip(document.getElementById('jedchecker'), {container: 'body', selector: '[data-bs-toggle=tooltip]'});
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
try {
jQuery.fn.scrollspy.noConflict(); jQuery.fn.scrollspy.noConflict();
} catch (e) {}
}, true); }, true);
})(); })();