Add a timeout

This commit is contained in:
Jiiks 2016-03-29 02:44:55 +03:00
parent 3dcacb5199
commit e2112c73c2
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ videoSupport.prototype.convert = function () {
};
videoSupport.prototype.onMessage = function () {
this.convert();
setTimeout(this.convert(), 2000);
};
videoSupport.prototype.onSwitch = function () {
this.convert();