mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-26 05:02:48 +00:00
This commit is contained in:
parent
d4630b2b6f
commit
cd8ef2f1bc
|
|
@ -42,7 +42,11 @@ function dropTomato(tomato) {
|
|||
// Skip tomato
|
||||
if(field && field.contains(el)) continue;
|
||||
if(ctrl && ctrl.contains(el)) continue;
|
||||
if(el.computedStyleMap().get('pointer-events').toString() === 'none') continue;
|
||||
try {
|
||||
if(el.computedStyleMap().get('pointer-events').toString() === 'none') continue;
|
||||
} catch(e) {
|
||||
console.log('Firefox?', el);
|
||||
}
|
||||
console.log(el);
|
||||
return el;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue