mirror of
https://github.com/ivabus/www
synced 2024-11-22 09:25:06 +03:00
Toast script in there twice
This commit is contained in:
parent
c6431fe826
commit
f2c0410414
1 changed files with 0 additions and 15 deletions
|
@ -102,18 +102,3 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
|||
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
|
||||
})(window, document, "clarity", "script", "c9ohlhyxzf");
|
||||
</script>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
const toastTrigger = document.getElementById('liveToastBtn')
|
||||
const toastLiveExample = document.getElementById('liveToast')
|
||||
if (toastTrigger) {
|
||||
toastTrigger.addEventListener('click', () => {
|
||||
const toast = new bootstrap.Toast(toastLiveExample)
|
||||
|
||||
toast.show()
|
||||
})
|
||||
}
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue