Skip to content

Commit

Permalink
css element selected fix
Browse files Browse the repository at this point in the history
  • Loading branch information
impronunciable committed Mar 15, 2012
1 parent 011669e commit 6b9c7af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions vulsaiSlider.js
Expand Up @@ -124,10 +124,10 @@

this.transition = this.options.transition == 'fade' ? this.fade : this.slide;
if(this.options.transition == 'fade'){
this.el.addClass('fade');
this.el.parent().addClass('fade');
this.el.children('li').css({'display': 'none'}).eq(0).css('display','block');
} else if(this.options.transition == 'slide'){
this.el.addClass('slide');
this.el.parent().addClass('slide');
}


Expand Down
2 changes: 1 addition & 1 deletion vulsaiSlider.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6b9c7af

Please sign in to comment.