mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-31 22:41:53 +02:00
Merge commit '7125ad401ad043e46262afc7eca8dceb6d54bb9e'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Grab any element that has the 'js-toggle' class and add an event listner for the toggleClass function
|
||||
// Grab any element that has the 'js-toggle' class and add an event listener for the toggleClass function
|
||||
var toggleBtns = document.getElementsByClassName('js-toggle')
|
||||
for (var i = 0; i < toggleBtns.length; i++) {
|
||||
toggleBtns[i].addEventListener('click', toggleClass, false)
|
||||
|
Reference in New Issue
Block a user