refactor(#I1287L): 自动锁屏兼容IE语法
#Comment comment #I1287L #Issue link https://gitee.com/LongbowEnterprise/dashboard/issues?id=I1287L
This commit is contained in:
parent
8b3ffcee03
commit
8ed9a8c15e
|
@ -170,7 +170,7 @@ $(function () {
|
|||
// 自动锁屏功能
|
||||
var mousePosition = { screenX: 0, screenY: 0 };
|
||||
var count = 1;
|
||||
var lockScreenPeriod = Number.parseInt($('#lockScreenPeriod').val());
|
||||
var lockScreenPeriod = parseInt($('#lockScreenPeriod').val());
|
||||
if (typeof lockScreenPeriod === 'number' && !isNaN(lockScreenPeriod)) {
|
||||
var traceMouseOrKey = window.setInterval(function () {
|
||||
$(document).off('mousemove').one('mousemove', function (e) {
|
||||
|
|
Loading…
Reference in New Issue