Bugfix click prolongé

This commit is contained in:
alexandre-pereira 2015-03-18 11:50:14 +01:00
parent 08bc1a56e5
commit f47579d2f3

View File

@ -18,6 +18,7 @@
var redirect; var redirect;
document.getElementById('imgRef').addEventListener("mousedown", function() { document.getElementById('imgRef').addEventListener("mousedown", function() {
redirect = setTimeout(function(){location.href="{{URL::to('choisirref')}}"}, 3000); redirect = setTimeout(function(){location.href="{{URL::to('choisirref')}}"}, 3000);
return false;
}); });