telegram_bots/static/js/examples/examples.lockscreen.js
2019-01-11 22:16:02 +03:00

26 lines
432 B
JavaScript

/*
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]);