40,275
edits
m (ooui buttons) |
m (rearange) |
||
/* add links to edit box */▼
$(function () {▼
function A(url, text) {
const el = document.createElement('a')
el.setAttribute('href', url)
el.innerText = text
el.className = "oo-ui-inputWidget-input oo-ui-buttonElement-button"▼
return el
}
▲/* add links to edit box */
function wrap(kid) {▼
▲$(function () {
const el = document.createElement('span')
const ln = A(url, text)
el.className = "oo-ui-widget oo-ui-widget-enabled oo-ui-inputWidget oo-ui-buttonElement oo-ui-buttonElement-framed oo-ui-labelElement oo-ui-buttonInputWidget"
el.appendChild(
return el
}
const edit_box = document.querySelector('.editButtons')
const wob_url =
const book_url =
edit_box.appendChild
edit_box.appendChild
});
|