MediaWiki:PoemButtons.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
setTimeout(function () { | setTimeout(function () { | ||
var btn1 = document.querySelector('a[rel="Poem1"]'); | |||
var btn2 = document.querySelector('a[rel="Poem2"]'); | |||
btn1.style.cssText += ';margin-top:7px !important;background-size:40px 40px !important;width:40px !important;height:40px !important;'; | |||
btn2.style.cssText += ';margin-top:7px !important;background-size:40px 40px !important;width:40px !important;height:40px !important;'; | |||
console.log(btn1.style.cssText); | |||
console.log(btn2.style.cssText); | |||
}, 500); | }, 500); | ||