Commit aff148b7 authored by Noemie Kerroux's avatar Noemie Kerroux

Update script

parent 792980ce
......@@ -66,8 +66,13 @@ define('IS_MOBILE', $detect->isMobile()); ?>
event.preventDefault();
var href = jQuery(this).attr("href");
var backup = jQuery(this).data("backup");
setTimeout(function () { window.location = backup; }, 25);
window.location = href;
setTimeout(function () {
var res = confirm("Open in the browser ?");
if(res == true) {
window.location = backup;
}
}, 1000);
});
});
</script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment