Skip to content

Commit a2e626c

Browse files
committed
hash opening
1 parent 9a25901 commit a2e626c

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

public/scripts.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/scripts.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ function openCookieBannerByHash() {
2323
window.toggleCookieBanner();
2424
}
2525
}
26-
27-
window.addEventListener('hashchange', function () {
28-
if (window.location.hash === '#consent-settings') {
29-
if (typeof window.toggleCookieBanner === 'function') {
30-
window.toggleCookieBanner();
31-
}
32-
}
33-
});
3426
}
3527

3628
/**

0 commit comments

Comments
 (0)