From faf13d696c874a0c546f5c862a2567032f423d09 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 2 Mar 2017 22:35:02 -0800 Subject: cleanup --- ext/fg/js/gecko.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/fg/js/gecko.js') 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); -- cgit v1.2.3