Browse Source

Fixes code analysis issues

tags/v9.0.0beta2
Morris Jobke 8 years ago
parent
commit
d55cfb4f89
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      apps/comments/js/commentstabview.js

+ 2
- 2
apps/comments/js/commentstabview.js View File

@@ -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);

Loading…
Cancel
Save