test
This commit is contained in:
parent
91b4183afe
commit
f196d93ddc
@ -23,15 +23,21 @@
|
|||||||
redirect = setTimeout(function(){location.href="{{URL::to('choisirref')}}"}, 3000);
|
redirect = setTimeout(function(){location.href="{{URL::to('choisirref')}}"}, 3000);
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('imgRef').addEventListener("mouseup", function() {
|
document.getElementById('imgRef').addEventListener("mouseup", function() {
|
||||||
clearTimeout(redirect);
|
clearTimeout(redirect);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
document.getElementById('imgRef').addEventListener("touchstart", function() {
|
||||||
|
redirect = setTimeout(function(){location.href="{{URL::to('choisirref')}}"}, 3000);
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
document.getElementById('imgRef').addEventListener("touchend", function() {
|
||||||
|
clearTimeout(redirect);
|
||||||
|
return false;
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
@endsection
|
@endsection
|
||||||
|
Reference in New Issue
Block a user