JavaScript addEventListener kliknij tylko raz
// Double click
object.addEventListener("dblclick", myScript)
John Francis Bonifacio
// Double click
object.addEventListener("dblclick", myScript)