Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dupa: ->
- colourSelected = @colourSelect.find('option:selected').text()
- return false if colourSelected is ''
- !@form.find('.colour-name').get().some (el) ->
- $(el).text().replace(/\s/g,'') is colourSelected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement