Commit 82e0eb0a authored by Randall Leeds's avatar Randall Leeds

remove unnecessary window resize

parent be4068b9
......@@ -41,11 +41,9 @@ class Hypothesis extends Annotator
# Returns itself for chaining.
_setupDocumentEvents: ->
super
$(document).on('mousedown', () =>
$(document).on 'mousedown', () =>
@sidebar.addClass('collapse')
$(document.documentElement).removeClass('hyp-collapse')
setTimeout((() -> $(window).resize()), 600)
)
this
_setupSidebar: () ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment