mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 07:50:54 -03:00
Update js libraries
This commit is contained in:
@@ -3,11 +3,13 @@
|
||||
@section('content')
|
||||
|
||||
<script type="text/javascript">
|
||||
setInterval(function() {
|
||||
if (!document.hasFocus() ) {
|
||||
setInterval(
|
||||
function() {
|
||||
if (!document.hasFocus() ) {
|
||||
window.location.reload(true);
|
||||
}
|
||||
}, 2*60000); //NOTE: period is passed in milliseconds
|
||||
}
|
||||
},
|
||||
2*60000); //NOTE: period is passed in milliseconds
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
|
||||
Reference in New Issue
Block a user