summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/fg/js/document.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js
index 5dcf7b3d..f58a64fc 100644
--- a/ext/fg/js/document.js
+++ b/ext/fg/js/document.js
@@ -102,6 +102,10 @@ function docRangeFromPoint(point) {
return new TextSourceRange(range);
}
}
+
+ if (navigator.userAgent.match(/Firefox/)) {
+ return new TextSourceRange(range);
+ }
}
function docSentenceExtract(source, extent) {