From 98c62d8b6d723675aebf86b0164c699240ac75b1 Mon Sep 17 00:00:00 2001 From: wareya Date: Sat, 29 Jun 2019 23:03:46 -0400 Subject: [PATCH] fix mobile buttons for real --- texthook.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/texthook.js b/texthook.js index a929129..a49d16a 100644 --- a/texthook.js +++ b/texthook.js @@ -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;