Add stopPropagation to menuitem of new icon
This should solve 658
This commit is contained in:
parent
5285fadded
commit
e9e9527e60
|
@ -517,6 +517,7 @@ var Zotero_Browser = new function() {
|
||||||
menuitem.setAttribute("class", "menuitem-iconic");
|
menuitem.setAttribute("class", "menuitem-iconic");
|
||||||
menuitem.addEventListener("command", function(e) {
|
menuitem.addEventListener("command", function(e) {
|
||||||
Zotero_Browser.scrapeThisPage(translator, e);
|
Zotero_Browser.scrapeThisPage(translator, e);
|
||||||
|
e.stopPropagation();
|
||||||
}, false);
|
}, false);
|
||||||
popup.appendChild(menuitem);
|
popup.appendChild(menuitem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user