Ignore clicks in tag selector not on tags
This commit is contained in:
parent
d357382dd1
commit
3a48439c1d
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue