This commit is contained in:
alexandre-pereira 2015-03-18 12:03:11 +01:00
parent b171157577
commit 91b4183afe
1 changed files with 4 additions and 2 deletions

View File

@ -16,8 +16,10 @@
@section('page-scripts')
<script>
var redirect;
document.getElementById('imgRef').addEventListener("mousedown", function(event) {
event.preventDefault();
document.getElementById('imgRef').addEventListener("click", function() {
return false;
});
document.getElementById('imgRef').addEventListener("mousedown", function() {
redirect = setTimeout(function(){location.href="{{URL::to('choisirref')}}"}, 3000);
return false;