提交 ab93ea04 编写于 作者: P Phil Hughes

Correctly checks for undefined in coffeescript 🙈

上级 439a7280
......@@ -201,7 +201,7 @@ class @LabelsSelect
callback data
renderRow: (label) ->
removesAll = label.id is 0 or label.id is undefined
removesAll = label.id is 0 or not label.id?
selectedClass = []
if $form.find("input[type='hidden']\
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册