瀏覽代碼

allow -1 as 'auto'

mark 1 年之前
父節點
當前提交
7536c7b532
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();