Skip to content

Commit

Permalink
No longer need IE workaround
Browse files Browse the repository at this point in the history
Selections were only not saved when Quill was inside an iframe.
Closes slab#380
  • Loading branch information
jhchen committed May 29, 2015
1 parent 98b8ac7 commit 4c5cddd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/modules/toolbar.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ class Toolbar
)
dom(@container).addClass('ql-toolbar')
dom(@container).addClass('ios') if dom.isIOS() # Fix for iOS not losing hover state after click
if dom.isIE(11)
dom(@container).on('mousedown', =>
# IE destroys selection by default when we click away
return false
)

initFormat: (format, callback) ->
selector = ".ql-#{format}"
Expand Down

0 comments on commit 4c5cddd

Please sign in to comment.