diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-02-17 15:19:42 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-02-17 15:19:42 +0100 |
commit | d55cfb4f89137b9ef0b195d215b2b2849cb368a4 (patch) | |
tree | 47e1472ed918cae8c672b4c00ba644a43702babe /apps/comments/js | |
parent | 9c1248521a76d7d8e5c6c893cf73b149fdf80df1 (diff) | |
download | nextcloud-server-d55cfb4f89137b9ef0b195d215b2b2849cb368a4.tar.gz nextcloud-server-d55cfb4f89137b9ef0b195d215b2b2849cb368a4.zip |
Fixes code analysis issues
Diffstat (limited to 'apps/comments/js')
-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); |