diff options
| author | mrmr1993 | 2014-12-17 14:51:25 +0000 |
|---|---|---|
| committer | mrmr1993 | 2014-12-17 14:51:25 +0000 |
| commit | 932652086c9ad601c92ef4aae250f9e0b6ad51a6 (patch) | |
| tree | 2f43e33f34aa6c167bc62fc0bcd5a39f00ad8ad9 /content_scripts | |
| parent | c7213f8a12ff75c00da3c7bdadb38239b096cb19 (diff) | |
| download | vimium-932652086c9ad601c92ef4aae250f9e0b6ad51a6.tar.bz2 | |
Ensure we only init CursorHider once
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;} |
