Merge pull request #661 from zuphilip/stop-propagation

Add stopPropagation to menuitem of new icon
This commit is contained in:
Dan Stillman 2015-03-08 00:13:05 -07:00
commit 6b8cc59bea

View file

@ -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);
}