From d55cfb4f89137b9ef0b195d215b2b2849cb368a4 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 17 Feb 2016 15:19:42 +0100 Subject: Fixes code analysis issues --- apps/comments/js/commentstabview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/comments') 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); -- cgit v1.2.3