Patch #13645 » context_menu.js.patch
context_menu.js (working copy) | ||
---|---|---|
4 | 4 |
function contextMenuRightClick(event) { |
5 | 5 |
var target = $(event.target); |
6 | 6 |
if (target.is('a')) {return;} |
7 |
if (target.is('img') && target.parents('a').first().is('a')) {return;} |
|
7 | 8 |
var tr = target.parents('tr').first(); |
8 | 9 |
if (!tr.hasClass('hascontextmenu')) {return;} |
9 | 10 |
event.preventDefault(); |