fixed blog mobile view

This commit is contained in:
timurgordon
2022-02-25 17:48:37 +03:00
parent d81a90aacd
commit d351bbc3f1
8 changed files with 30 additions and 17 deletions

View File

@@ -64,9 +64,7 @@
window.onload = function(){
let elements = document.getElementsByTagName("button");
let buttons = [...elements]
console.log("logg:", buttons)
buttons.forEach((button) => {
console.log("logg:", button)
button.addEventListener( 'click', function() { handleClick(button) });
})