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

Commit

Permalink
Merge pull request #552 from VarNepvius/fix-middleclick-for-electron-3
Browse files Browse the repository at this point in the history
Fix tab close on middle click for Electron 3
  • Loading branch information
daviwil committed Jan 24, 2019
2 parents 53b686a + 82e767b commit 949a38d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tab-bar-view.coffee
Expand Up @@ -93,6 +93,7 @@ class TabBarView

@element.addEventListener "mousedown", @onMouseDown.bind(this)
@element.addEventListener "click", @onClick.bind(this)
@element.addEventListener "auxclick", @onClick.bind(this)
@element.addEventListener "dblclick", @onDoubleClick.bind(this)

@onDropOnOtherWindow = @onDropOnOtherWindow.bind(this)
Expand Down

0 comments on commit 949a38d

Please sign in to comment.