summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-10 18:23:18 +0300
committerAndrew Dolgov <[email protected]>2021-03-10 18:23:18 +0300
commit79bf8a1ac4d04949b594cf9e647ecd1542f82f2d (patch)
tree62723df95aebde052b277ba9bbaa0175c25f660f
parent921e576e994b2cf7dfc52db3a90e08cd1c10589e (diff)
remove onclick
-rw-r--r--init.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/init.js b/init.js
index 6c17de5..211f075 100644
--- a/init.js
+++ b/init.js
@@ -4,9 +4,6 @@ require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
function pause(vid) {
vid.removeAttribute("autoplay");
vid.pause();
- vid.onclick = () => {
- this.paused ? this.play() : this.pause();
- }
}
function pause_all(row) {