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) {