Forráskód Böngészése

allow -1 as 'auto'

mark 1 éve
szülő
commit
7536c7b532
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      client/components/swimlanes/swimlaneHeader.js

+ 1 - 1
client/components/swimlanes/swimlaneHeader.js

@@ -148,7 +148,7 @@ BlazeComponent.extendComponent({
 
     // FIXME(mark-i-m): where do we put constants?
     //                  also in imports/i18n/data/en.i18n.json
-    if (height < 100 || !height) {
+    if (height != -1 && (height < 100 || !height)) {
       Template.instance()
         .$('.swimlane-height-error')
         .click();