Permalink
Browse files

Tiny bug fix were opacities were not always being reset to 1.

  • Loading branch information...
1 parent 747655c commit 59e0efb308893539e630c4608ec9f9bd02dec337 @coryschires committed May 29, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −1 README.rdoc
  2. +2 −1 src/jquery.quote_rotator.js
View
@@ -1,6 +1,6 @@
= JQuery Quote Rotator Plugin.
-Here's a jQuery plugin that rotates through list items with a nice fade effect. You may nest any type of element you like inside a given list item. Here's a {live demo on my blog}[http://coryschires.com/jquery-quote-rotator-plugin/] or on the {github demo page}[http://coryschires.github.com/quote-rotator/] for this project.
+Here's a jQuery plugin that rotates through list items with a nice fade effect. You may nest any type of element you like inside a given list item. Here's a {live demo for this project}[http://coryschires.github.com/quote-rotator/].
== How to make it work.
@@ -61,7 +61,8 @@
active_quote.animate({
opacity: 0
}, 1000, function() {
- active_quote.hide().css('opacity', 1);
+ active_quote.hide();
+ list_items.css('opacity', 1);
next_quote.fadeIn(1000);
});

0 comments on commit 59e0efb

Please sign in to comment.