This commit is contained in:
Scott Erickson 2014-05-30 16:43:55 -07:00
parent 47f28d26d1
commit f82ca5c1b6

View file

@ -259,7 +259,7 @@ module.exports = class ThangsTabView extends View
@$el.find('.add-thangs-palette .add-thang-palette-icon.selected').removeClass('selected') @$el.find('.add-thangs-palette .add-thang-palette-icon.selected').removeClass('selected')
@selectAddThangType(if wasSelected then null else target.attr 'data-thang-type') unless key.alt or key.meta @selectAddThangType(if wasSelected then null else target.attr 'data-thang-type') unless key.alt or key.meta
target.addClass('selected') if @addThangType target.addClass('selected') if @addThangType
false #false # was causing #1099, any reason to keep?
moveAddThangSelection: (direction) -> moveAddThangSelection: (direction) ->
return unless @addThangType return unless @addThangType