Skip to content

Commit b0cb78e

Browse files
committed
FIX: comments
1 parent c611d2c commit b0cb78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toolbar.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Toolbar extends SimpleModule
5454
true
5555

5656
floatInitialized = null
57-
$(@opts.toolbarScrollContainer).on 'resize.simditor-' + @editor.id, (e) ->
57+
$(window).on 'resize.simditor-' + @editor.id, (e) ->
5858
floatInitialized = initToolbarFloat()
5959

6060
$(@opts.toolbarScrollContainer).on 'scroll.simditor-' + @editor.id, (e) =>

0 commit comments

Comments
 (0)