fix mobile buttons for real

This commit is contained in:
wareya committed 2019-06-29 23:03:46 -04:00
1 parent 876b5077b0
commit 98c62d8b6d
1 file changed
+2 -2
+2 -2
View File
@@ -1786,7 +1786,7 @@ function update(event)
if(!settings.enabled) return;
if(settings.popup_follows_mouse && exists_div() && !is_sticky())
if(settings.popup_follows_mouse && exists_div() && !is_sticky() && platform != "android" )
{
let other = get_div();
//let middle = other.firstChild.cloneNode(true);
@@ -1867,7 +1867,7 @@ function update(event)
}
}
// sticky mode and android need to break out on parent detection
if(ele && !ele.contains(textNode) && is_sticky())
if(ele && !ele.contains(textNode) && is_sticky() && platform != "android" )
{
textNode = undefined;
offset = undefined;