stop opening while right click on attachment's url (#2962)
This commit is contained in:
parent
ff38ff5b9d
commit
4fbb89a588
1 changed files with 3 additions and 1 deletions
|
@ -245,7 +245,9 @@
|
|||
urlField.setAttribute('hidden', false);
|
||||
if (this.clickableLink) {
|
||||
urlField.onclick = function (event) {
|
||||
ZoteroPane_Local.loadURI(this.value, event)
|
||||
if (event.button != 2) {
|
||||
ZoteroPane_Local.loadURI(this.value, event)
|
||||
}
|
||||
};
|
||||
urlField.className = 'zotero-text-link';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue