Skip to content

Commit

Permalink
Don't use right button to trigger opening switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Feb 7, 2018
1 parent 229ceff commit 495fb91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webextensions/sidebar/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ function onMouseDown(aEvent) {
clearDropPosition();
clearDraggingState();

if (isEventFiredOnAnchor(aEvent) && !isAccelAction(aEvent)) {
if (isEventFiredOnAnchor(aEvent) &&
!isAccelAction(aEvent) &&
aEvent.button != 2) {
if (configs.logOnMouseEvent)
log('mouse down on a selector anchor');
aEvent.stopPropagation();
Expand Down

0 comments on commit 495fb91

Please sign in to comment.