diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-18 10:14:31 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-18 10:14:31 +0100 |
commit | 3a97a0ad7fa14b803c2ecb55faf24607011eae6e (patch) | |
tree | 4c8f06fcf2adec839558b76a163920f0d2baa80f /apps/comments | |
parent | 8798f85e881e9097d9efdadbc453a7ff05bc6a1f (diff) | |
parent | d55cfb4f89137b9ef0b195d215b2b2849cb368a4 (diff) | |
download | nextcloud-server-3a97a0ad7fa14b803c2ecb55faf24607011eae6e.tar.gz nextcloud-server-3a97a0ad7fa14b803c2ecb55faf24607011eae6e.zip |
Merge pull request #22475 from owncloud/fix-js-issues
Fixes code analysis issues
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/js/commentstabview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js index 1326d544b1a..415ec2a9be5 100644 --- a/apps/comments/js/commentstabview.js +++ b/apps/comments/js/commentstabview.js @@ -8,7 +8,7 @@ * */ -/* global Handlebars */ +/* global Handlebars, escapeHTML */ (function(OC, OCA) { var TEMPLATE = @@ -297,7 +297,7 @@ $field.tooltip('show'); $field.addClass('error'); } - + var limitExceeded = (len > this._commentMaxLength); $field.toggleClass('error', limitExceeded); $submitButton.prop('disabled', limitExceeded); |