Commit 9b01746d authored by Oleg Korshul's avatar Oleg Korshul

.

parent 973ed2f5
...@@ -1318,6 +1318,9 @@ ...@@ -1318,6 +1318,9 @@
if (this.pluginsManager && this.pluginsManager.current != null) if (this.pluginsManager && this.pluginsManager.current != null)
return false; return false;
if (this.isEmbedVersion)
return false;
var _currentTime = new Date().getTime(); var _currentTime = new Date().getTime();
return ((_currentTime - this.lastWorkTime) > time) ? true : false; return ((_currentTime - this.lastWorkTime) > time) ? true : false;
}; };
...@@ -1325,8 +1328,6 @@ ...@@ -1325,8 +1328,6 @@
baseEditorsApi.prototype.checkLastWork = function() baseEditorsApi.prototype.checkLastWork = function()
{ {
this.lastWorkTime = new Date().getTime(); this.lastWorkTime = new Date().getTime();
console.log(this.lastWorkTime);
}; };
//----------------------------------------------------------export---------------------------------------------------- //----------------------------------------------------------export----------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment