diff --git a/lib/client/dom.js b/lib/client/dom.js index 327569ee..3d5e4638 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -129,6 +129,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; this.hide = function() { var element = Images.get(); DOM.hide(element); + + return this; }; this.setProgress = function(value, title) { @@ -141,6 +143,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; if (title) element.title = title; } + + return this; }; this.clearProgress = function() { @@ -151,6 +155,8 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; element.setAttribute(DATA, ''); element.title = ''; } + + return this; }; },