Set a -1 tabindex on on the tab bar

This prevents it from gaining focus when a close icon is clicked.
This commit is contained in:
Kevin Sawicki
2013-04-09 13:54:08 -07:00
parent efb4bdd028
commit 27c5506d83

View File

@@ -6,7 +6,7 @@ TabView = require './tab-view'
module.exports =
class TabBarView extends View
@content: ->
@ul class: "tabs sortable-list"
@ul tabindex: -1, class: "tabs sortable-list"
initialize: (@pane) ->
@on 'dragstart', '.sortable', @onDragStart