Embed: options.reloadDelay:

- when > an hour, parse as ms;
- in dev mode, when options.reloadDelay is set, show the timeouts as normal
This commit is contained in:
Cat 2021-09-13 13:06:34 +02:00 committed by Thulinma
parent 12c117e297
commit be7e44727f
3 changed files with 12 additions and 2 deletions

View file

@ -2135,7 +2135,11 @@ MistSkins["default"] = {
MistSkins.dev = {
structure: MistUtil.object.extend({},MistSkins["default"].structure,true),
blueprints: {
timeout: function(){ //don't use countdowns on buttons
timeout: function(){
//don't use countdowns on buttons unless MistVideo.options.reloadDelay is set
if (this.options.reloadDelay !== false) {
return MistSkins.default.blueprints.timeout.apply(this,arguments);
}
return false;
},
log: function(){