mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user