817
עריכות
אין תקציר עריכה |
אין תקציר עריכה |
||
שורה 68: | שורה 68: | ||
var buttonDiv = document.createElement("div"); | var buttonDiv = document.createElement("div"); | ||
buttonDiv.className = "mw-parser-output"; | buttonDiv.className = "mw-parser-output"; | ||
buttonDiv.style. | buttonDiv.style.display = "inline-block"; | ||
buttonDiv.style. | buttonDiv.style.verticalAlign = "middle"; | ||
buttonDiv.style. | buttonDiv.style.marginRight = "10px"; | ||
buttonDiv.appendChild(buttonSpan); | buttonDiv.appendChild(buttonSpan); | ||
שורה 77: | שורה 76: | ||
heading.insertBefore(buttonDiv, heading.firstChild); | heading.insertBefore(buttonDiv, heading.firstChild); | ||
buttonSpan.addEventListener("click", function() { | buttonSpan.addEventListener("click", function() { |
עריכות