This commit is contained in:
alexandre-pereira 2015-03-18 12:03:11 +01:00
parent b171157577
commit 91b4183afe

View File

@ -16,8 +16,10 @@
@section('page-scripts') @section('page-scripts')
<script> <script>
var redirect; var redirect;
document.getElementById('imgRef').addEventListener("mousedown", function(event) { document.getElementById('imgRef').addEventListener("click", function() {
event.preventDefault(); return false;
});
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; return false;