aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/gecko.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-02 22:35:02 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-02 22:35:02 -0800
commitfaf13d696c874a0c546f5c862a2567032f423d09 (patch)
tree3018c2ef3616771a310cf25fe6666937f8a97966 /ext/fg/js/gecko.js
parenta01ca1f17c056179ab9040bf702429fdd97742d6 (diff)
cleanup
Diffstat (limited to 'ext/fg/js/gecko.js')
-rw-r--r--ext/fg/js/gecko.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fg/js/gecko.js b/ext/fg/js/gecko.js
index e47d2ebe..4057b95c 100644
--- a/ext/fg/js/gecko.js
+++ b/ext/fg/js/gecko.js
@@ -20,6 +20,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+
if (!document.caretRangeFromPoint) {
document.caretRangeFromPoint = (x, y) => {
const position = document.caretPositionFromPoint(x,y);