diff options
author | kondou <kondou@ts.unde.re> | 2013-07-31 21:21:02 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-07-31 21:21:02 +0200 |
commit | aaf0fec9f54bc6f9eef5df00441d593e053ee74b (patch) | |
tree | ca65f4c20b8d1e698d815a3b5970926023093478 /core/js/jquery.ocdialog.js | |
parent | 50101a85a63f29c47abe325aecb3af26bc8a96d1 (diff) | |
download | nextcloud-server-aaf0fec9f54bc6f9eef5df00441d593e053ee74b.tar.gz nextcloud-server-aaf0fec9f54bc6f9eef5df00441d593e053ee74b.zip |
Fix some JSLint warnings
Diffstat (limited to 'core/js/jquery.ocdialog.js')
-rw-r--r-- | core/js/jquery.ocdialog.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js index 7413927e3b2..bafbd0e0e9f 100644 --- a/core/js/jquery.ocdialog.js +++ b/core/js/jquery.ocdialog.js @@ -13,7 +13,7 @@ this.originalCss = { display: this.element[0].style.display, width: this.element[0].style.width, - height: this.element[0].style.height, + height: this.element[0].style.height }; this.originalTitle = this.element.attr('title'); @@ -152,7 +152,7 @@ content_height -= this.$buttonrow.outerHeight(true); } this.parent = this.$dialog.parent().length > 0 ? this.$dialog.parent() : $('body'); - content_height = Math.min(content_height, this.parent.height()-20) + content_height = Math.min(content_height, this.parent.height()-20); this.element.css({ height: content_height + 'px', width: this.$dialog.innerWidth()-20 + 'px' @@ -187,7 +187,7 @@ } }, widget: function() { - return this.$dialog + return this.$dialog; }, close: function() { this._destroyOverlay(); @@ -200,10 +200,10 @@ }, destroy: function() { if(this.$title) { - this.$title.remove() + this.$title.remove(); } if(this.$buttonrow) { - this.$buttonrow.remove() + this.$buttonrow.remove(); } if(this.originalTitle) { |