qsxqs
This commit is contained in:
parent
f47579d2f3
commit
8dcc168458
@ -16,7 +16,7 @@
|
|||||||
@section('page-scripts')
|
@section('page-scripts')
|
||||||
<script>
|
<script>
|
||||||
var redirect;
|
var redirect;
|
||||||
document.getElementById('imgRef').addEventListener("mousedown", function() {
|
document.getElementById('imgRef').addEventListener("mousedown", function(event) {
|
||||||
redirect = setTimeout(function(){location.href="{{URL::to('choisirref')}}"}, 3000);
|
redirect = setTimeout(function(){location.href="{{URL::to('choisirref')}}"}, 3000);
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -24,7 +24,11 @@
|
|||||||
|
|
||||||
document.getElementById('imgRef').addEventListener("mouseup", function() {
|
document.getElementById('imgRef').addEventListener("mouseup", function() {
|
||||||
clearTimeout(redirect);
|
clearTimeout(redirect);
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@endsection
|
@endsection
|
||||||
|
Reference in New Issue
Block a user