aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-18 10:14:31 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-18 10:14:31 +0100
commit3a97a0ad7fa14b803c2ecb55faf24607011eae6e (patch)
tree4c8f06fcf2adec839558b76a163920f0d2baa80f /apps/comments
parent8798f85e881e9097d9efdadbc453a7ff05bc6a1f (diff)
parentd55cfb4f89137b9ef0b195d215b2b2849cb368a4 (diff)
downloadnextcloud-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.js4
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);