diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-12-30 16:46:36 +0100 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-12-30 16:49:39 +0100 |
commit | 0833a22742b7cdad2b6176b3f39863ccc818faa2 (patch) | |
tree | aded7c4e69c620333f5b32f5ed9f01ebdb76330d | |
parent | 6dc7404f23796784c212e6db1b4fca22c7a1ac82 (diff) | |
download | wekan-0833a22742b7cdad2b6176b3f39863ccc818faa2.tar.gz wekan-0833a22742b7cdad2b6176b3f39863ccc818faa2.tar.bz2 wekan-0833a22742b7cdad2b6176b3f39863ccc818faa2.zip |
Forbid trailing spaces
-rw-r--r-- | .eslintrc | 1 | ||||
-rw-r--r-- | client/components/cards/attachments.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -28,6 +28,7 @@ rules: no-multiple-empty-lines: 2 no-nested-ternary: 2 no-spaced-func: 2 + no-trailing-spaces: 2 operator-linebreak: 2 quotes: [2, single] semi-spacing: 2 diff --git a/client/components/cards/attachments.js b/client/components/cards/attachments.js index 1e5aa03b..4e3e0b19 100644 --- a/client/components/cards/attachments.js +++ b/client/components/cards/attachments.js @@ -22,7 +22,7 @@ Template.attachmentsGalery.events({ }, 'click .js-preview-image'(evt) { Popup.open('previewAttachedImage').call(this, evt); - // when multiple thumbnails, if click one then another very fast, + // when multiple thumbnails, if click one then another very fast, // we might get a wrong width from previous img. // when popup reused, onRendered() won't be called, so we cannot get there. // here make sure to get correct size when this img fully loaded. |