From c5d38bb5f55902f696efaa4cfffe17b6ab6c0204 Mon Sep 17 00:00:00 2001 From: Vincent Nivoliers <vincent.nivoliers@univ-lyon1.fr> Date: Fri, 23 Sep 2016 16:39:39 +0200 Subject: [PATCH] new attempt for a mouse event fix --- js/pgm_construction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/pgm_construction.js b/js/pgm_construction.js index 8b6a85c..3e41a87 100644 --- a/js/pgm_construction.js +++ b/js/pgm_construction.js @@ -228,7 +228,7 @@ function blob_download() { window.requestAnimationFrame(function () { var event ; - if(typeof MouseEvent !nn 'function') { + if(typeof MouseEvent !== 'function') { event = document.createEvent("MouseEvent"); event.initMouseEvent("click",true,true,window,0,0,0,0,0,false,false,false,false,0,null); } else { -- GitLab