From 3a29d5c0d7f5adce5500d2e1df1f9d5df9ec12ce Mon Sep 17 00:00:00 2001 From: OldHawk Date: Wed, 13 Dec 2017 19:09:17 +0800 Subject: [PATCH] fix(core): fixed eslint warning --- .../client/directives/mt-markdown-editor.client.directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/client/directives/mt-markdown-editor.client.directive.js b/modules/core/client/directives/mt-markdown-editor.client.directive.js index bc2494c0..1c0232a5 100644 --- a/modules/core/client/directives/mt-markdown-editor.client.directive.js +++ b/modules/core/client/directives/mt-markdown-editor.client.directive.js @@ -28,7 +28,7 @@ ngModel.$setViewValue($('#' + attrs.mtMarkdownEditor)[0].value); }, onShow: function (e) { - if(attrs.maxlength){ + if (attrs.maxlength) { var inputInfo = angular.element(''); inputInfo.addClass('pull-right'); inputInfo.addClass('input-length');