Skip to content

Commit

Permalink
removed unnecessary display block setting
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotz committed May 19, 2013
1 parent 74dd728 commit b898787
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions oridomi.coffee
Expand Up @@ -414,8 +414,6 @@ class OriDomi
@el.style.backgroundColor = 'transparent'
@el.style.backgroundImage = @el.style.border = @el.style.outline = 'none'
@el.style.position = 'relative'
# Show the left stage to start with.
@stages.left.style.display = 'block'

# Create an element to hold stages.
@stageHolder = document.createElement 'div'
Expand Down Expand Up @@ -478,7 +476,7 @@ class OriDomi
else
panel.style[anchor] = '100%'
else
content.style[anchors[0]] = -(count - i - 1) * 100 + '%'
content.style[anchors[0]] = (count - i - 1) * -100 + '%'
panel.style[css.origin] = anchor
if i is 0
panel.style[anchors[0]] = 100 - percent + '%'
Expand Down

0 comments on commit b898787

Please sign in to comment.