[PE mobile] Fix opensource warning

This commit is contained in:
Julia Radzhabova 2020-02-10 14:43:42 +03:00
parent 35ea66e440
commit 32cb105d4d

View file

@ -579,8 +579,7 @@ define([
var value = Common.localStorage.getItem("pe-opensource-warning");
value = (value!==null) ? parseInt(value) : 0;
var now = (new Date).getTime();
if (now - value > 40) {
// if (now - value > 86400000) {
if (now - value > 86400000) {
Common.localStorage.setItem("pe-opensource-warning", now);
uiApp.modal({
title: me.notcriticalErrorTitle,