diff options
| author | Stephen Blott | 2014-12-17 15:11:27 +0000 |
|---|---|---|
| committer | Stephen Blott | 2014-12-17 15:11:27 +0000 |
| commit | d8558794962fc057528c2d92b58d3e743e912047 (patch) | |
| tree | 2f43e33f34aa6c167bc62fc0bcd5a39f00ad8ad9 /content_scripts | |
| parent | c7213f8a12ff75c00da3c7bdadb38239b096cb19 (diff) | |
| parent | 932652086c9ad601c92ef4aae250f9e0b6ad51a6 (diff) | |
| download | vimium-d8558794962fc057528c2d92b58d3e743e912047.tar.bz2 | |
Merge branch 'mrmr1993-ensure-only-init-cursorhider-once' into post-1.46
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index e4680ff7..78014490 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -1124,6 +1124,7 @@ CursorHider = CursorHider.isScrolling = false init: -> + return unless @cursorHideStyle? @cursorHideStyle = document.createElement("style") @cursorHideStyle.innerHTML = """ body * {pointer-events: none !important; cursor: none !important;} |
