40,275
edits
m (oops) |
m (try dis) |
||
/* Add edit buttons to templates */
function edit_button(box) {▼
if (!box.id) return
// FIXME: what does this do?
float.style.float = 'right'
title.appendChild(float)
// push "[]" around the A element into the
float.appendChild(document.createTextNode('['))
float.appendChild(a)
float.appendChild(document.createTextNode(']'))
}
// loop over all .infobox and .navbar elements to
const boxes = [...document.querySelectorAll('.infobox'), ...document.querySelectorAll('.navbar')]
for (const box of boxes)
});
|