Ignore clicks in tag selector not on tags
This commit is contained in:
parent
d357382dd1
commit
3a48439c1d
|
@ -659,6 +659,11 @@
|
||||||
|
|
||||||
var elem = event.target;
|
var elem = event.target;
|
||||||
|
|
||||||
|
// Ignore clicks not on tags
|
||||||
|
if (elem.localName != 'button') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Ignore clicks on tags not in scope
|
// Ignore clicks on tags not in scope
|
||||||
if (elem.getAttribute('inScope') == 'false') {
|
if (elem.getAttribute('inScope') == 'false') {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user