[PE mobile] Fix opensource warning
This commit is contained in:
parent
35ea66e440
commit
32cb105d4d
|
@ -579,8 +579,7 @@ define([
|
||||||
var value = Common.localStorage.getItem("pe-opensource-warning");
|
var value = Common.localStorage.getItem("pe-opensource-warning");
|
||||||
value = (value!==null) ? parseInt(value) : 0;
|
value = (value!==null) ? parseInt(value) : 0;
|
||||||
var now = (new Date).getTime();
|
var now = (new Date).getTime();
|
||||||
if (now - value > 40) {
|
if (now - value > 86400000) {
|
||||||
// if (now - value > 86400000) {
|
|
||||||
Common.localStorage.setItem("pe-opensource-warning", now);
|
Common.localStorage.setItem("pe-opensource-warning", now);
|
||||||
uiApp.modal({
|
uiApp.modal({
|
||||||
title: me.notcriticalErrorTitle,
|
title: me.notcriticalErrorTitle,
|
||||||
|
|
Loading…
Reference in a new issue