Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Fixes #292
Browse files Browse the repository at this point in the history
  • Loading branch information
akonwi committed Dec 8, 2016
1 parent 91522e4 commit e63ff5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/views/select-list-multiple-view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class SelectListMultipleView extends SelectListView

@on 'mousedown', ({target}) =>
false if target is @list[0] or $(target).hasClass('btn')
@on 'keypress', ({keyCode}) => @complete() if keyCode is 13
@on 'keypress', ({keyCode, ctrlKey, shiftKey}) => @complete() if keyCode is 13 and (ctrlKey or shiftKey)
@addButtons()

# Public: Function to add buttons to the SelectListMultipleView.
Expand Down

0 comments on commit e63ff5b

Please sign in to comment.