Commit 21c434dc94ca16cf703f823573595bd8f9ed8f8f

Authored by Rafael Martins
1 parent cc98da8e

Fix for the expand-boxes not closing correctly

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
public/javascripts/catalog.js
1 1 (function($) {
2 2  
3 3 $('#product-list .product .expand-box').live('click', function () {
  4 + $('.expand-box').each(function(index, element){ this.clicked = false; click(this); });
4 5 this.clicked = !this.clicked;
5 6 toggle_expandbox(this);
6 7 $.each($(this).siblings('.expand-box'), function(index, value) { value.clicked = false; toggle_expandbox(value); });
... ...