Commit ab93ea04 authored by Phil Hughes's avatar Phil Hughes

Correctly checks for undefined in coffeescript 🙈

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment