Ignore clicks in tag selector not on tags

This commit is contained in:
Dan Stillman 2017-03-26 18:11:23 -04:00
parent d357382dd1
commit 3a48439c1d

View file

@ -659,6 +659,11 @@
var elem = event.target;
// Ignore clicks not on tags
if (elem.localName != 'button') {
return;
}
// Ignore clicks on tags not in scope
if (elem.getAttribute('inScope') == 'false') {
return;