telegram_bots/static/js/examples/examples.lockscreen.js

26 lines
432 B
JavaScript
Raw Permalink Normal View History

2019-01-11 19:16:01 +00:00
/*
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]);