aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-08-10 13:33:00 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-08-16 17:44:16 -0400
commit2edd4183a0f5061999af2a4e84bea87b6e70834b (patch)
treee9e5a8f521617d51048a1230488eb9ef7d6a53fb /ext/fg/js/frontend.js
parente23d4b9a82581f3cf1118e31d077fc9cdaff7573 (diff)
Clean up docRangeFromPoint
Use a cached value for checking if the browser is Firefox. Only validate and set up document.caretRangeFromPoint once. Use switch for multiple comparisons on the same value.
Diffstat (limited to 'ext/fg/js/frontend.js')
0 files changed, 0 insertions, 0 deletions