mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-09 14:21:02 +01:00
Ignore right mouse button in click on a line number in diff
Test Plan: Go to any diff Click on a line number with right mouse button No dialog should be opened Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: 1150
This commit is contained in:
parent
315df7c123
commit
cfaab709df
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ JX.behavior('differential-edit-inline-comments', function(config) {
|
||||||
function(e) {
|
function(e) {
|
||||||
if (editor ||
|
if (editor ||
|
||||||
selecting ||
|
selecting ||
|
||||||
|
e.isRightButton() ||
|
||||||
getRowNumber(e.getTarget()) === undefined) {
|
getRowNumber(e.getTarget()) === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue