Line 73: | Line 73: | ||
qs('.editHelp').style.display = "none"; | qs('.editHelp').style.display = "none"; | ||
qsa("label")[1].innerHTML="Editing " + safety; | qsa("label")[1].innerHTML="Editing " + safety; | ||
+ | qsa("img").forEach(function(e){e.oncontextmenu = function(o){o.target.classList.toggle("left");o.preventDefault()}}); | ||
qs("textarea").oninput = function(){ | qs("textarea").oninput = function(){ | ||
qs('.JC #content-body').innerHTML = qs('textarea').value; | qs('.JC #content-body').innerHTML = qs('textarea').value; |
Revision as of 00:35, 29 October 2017