1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-09 06:11:01 +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:
Jakub Vrana 2011-12-01 12:14:12 -08:00
parent 315df7c123
commit cfaab709df

View file

@ -75,6 +75,7 @@ JX.behavior('differential-edit-inline-comments', function(config) {
function(e) {
if (editor ||
selecting ||
e.isRightButton() ||
getRowNumber(e.getTarget()) === undefined) {
return;
}