Alex
Created page with "var ACTIVE_TEXT = 'Copied' var DEFAULT_TEXT = 'Copy tile markers' function onClick(button) { t = button.$element[0] navigator.clipboard.writeText(t.nextElementSibling.innerHTML); // Set the copied state and queue changing back button.setLabel(ACTIVE_TEXT); button.setIcon('check') setTimeout(function() { button.setLabel(DEFAULT_TEXT); button.setIcon(null) }, 3000) } function createButton() { button = new OO.ui.ButtonWidget({ label: DEFAULT_TEXT,..."