mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-02 18:08:21 +00:00
Merge pull request #211 from dryabov/patch-76
fix console error message if jQuery is not loaded
This commit is contained in:
commit
5dd1fe09d1
@ -105,6 +105,8 @@
|
||||
new bootstrap.Tooltip(document.getElementById('jedchecker'), {container: 'body', selector: '[data-bs-toggle=tooltip]'});
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
jQuery.fn.scrollspy.noConflict();
|
||||
try {
|
||||
jQuery.fn.scrollspy.noConflict();
|
||||
} catch (e) {}
|
||||
}, true);
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user