Difference between revisions of "User:Fbstj/gadget/history-test.js"
Jump to navigation
Jump to search
m (++) |
m (try that) |
||
btn.addEventListener('click', function() {
// clicked
old.dispatchEvent(new Event('click'))
})
// hide old button and show new one
|