Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Nov 5, 2014
1 parent 27d49f5 commit c0f0dbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/themes/base/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class BaseTheme
).join("\n")

constructor: (@quill, @options) ->
dom(@quill.root.parentNode).addClass('ql-container')
dom(@quill.container).addClass('ql-container')
if @options.styles
this.addStyles(baseStyles + BaseTheme.objToCss(@options.styles))
if dom.isIE(10)
Expand Down
2 changes: 0 additions & 2 deletions test/unit/modules/tooltip.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ describe('Tooltip', ->

describe('position()', ->
beforeEach( ->
# @quill.container = makeContainer(50, 50, 600, 400)
# @tooltip.container = makeContainer(60, 60, 200, 100)
$(@quill.container).css({ width: 600, height: 400 })
$(@tooltip.container).css({ width: 200, height: 100 })

Expand Down

0 comments on commit c0f0dbe

Please sign in to comment.