diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-03-02 22:35:02 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-03-02 22:35:02 -0800 |
commit | faf13d696c874a0c546f5c862a2567032f423d09 (patch) | |
tree | 3018c2ef3616771a310cf25fe6666937f8a97966 /ext/fg/js/gecko.js | |
parent | a01ca1f17c056179ab9040bf702429fdd97742d6 (diff) |
cleanup
Diffstat (limited to 'ext/fg/js/gecko.js')
-rw-r--r-- | ext/fg/js/gecko.js | 1 |
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); |