Merge pull request #661 from zuphilip/stop-propagation
Add stopPropagation to menuitem of new icon
This commit is contained in:
commit
6b8cc59bea
1 changed files with 1 additions and 0 deletions
|
@ -517,6 +517,7 @@ var Zotero_Browser = new function() {
|
|||
menuitem.setAttribute("class", "menuitem-iconic");
|
||||
menuitem.addEventListener("command", function(e) {
|
||||
Zotero_Browser.scrapeThisPage(translator, e);
|
||||
e.stopPropagation();
|
||||
}, false);
|
||||
popup.appendChild(menuitem);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue