Procházet zdrojové kódy

allow -1 as 'auto'

mark před 1 rokem
rodič
revize
7536c7b532
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();