Skip to content

Commit

Permalink
FIX: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-she committed Jul 22, 2019
1 parent c611d2c commit b0cb78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toolbar.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Toolbar extends SimpleModule
true

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

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

0 comments on commit b0cb78e

Please sign in to comment.