spsaucier / App-Folders

Use jQuery to create iOS-like App Folders on any website. They can contain any content and be styled in any way
143 stars 34 forks source link

Clicking the close link $('.jaf-close') does not reset opacity of all folders. #7

Open quintusl opened 11 years ago

quintusl commented 11 years ago

This patch should help:

index 670b1d6..8230623 100644
--- jquery.app-folders.js.orig
+++ jquery.app-folders.js
@@ -196,6 +196,12 @@

                                //Reset the margin-top for the container
                                $(this).parent().parent().animate({ marginTop: settings.marginTopBase }, settings.animationSpeed );
+        
+        //Reset opacity
+                               $(".jaf-container").find(".folder").each(function() {
+                                       $(this).animate({ opacity: 1.00 }, settings.animationSpeed);
+                               });
+
                        });