initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
Name: Pages / Locked Screen - Examples
|
||||
Written by: Okler Themes - (http://www.okler.net)
|
||||
Theme Version: 2.1.1
|
||||
*/
|
||||
|
||||
(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