copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
|
||||
(function($) {
|
||||
|
||||
'use strict';
|
||||
|
||||
var $document,
|
||||
idleTime;
|
||||
|
||||
$document = $(document);
|
||||
|
||||
$(function() {
|
||||
$.idleTimer( 10000 ); // ms
|
||||
|
||||
$document.on( 'idle.idleTimer', function() {
|
||||
// if you don't want the modal
|
||||
// you can make a redirect here
|
||||
LockScreen.show();
|
||||
});
|
||||
});
|
||||
|
||||
}).apply( this, [ jQuery ]);
|
||||
Reference in New Issue
Block a user