Commit d60763923b03b618be45a2de96219a42b82f3193
1 parent
b57cc7f6
Exists in
master
and in
29 other branches
Fixing name of method on js file
(ActionItem2111)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
public/javascripts/catalog.js
1 | (function($) { | 1 | (function($) { |
2 | 2 | ||
3 | $('#product-list .product .expand-box').live('click', function () { | 3 | $('#product-list .product .expand-box').live('click', function () { |
4 | - $('.expand-box').each(function(index, element){ this.clicked = false; click(this); }); | 4 | + $('.expand-box').each(function(index, element){ this.clicked = false; toggle_expandbox(this); }); |
5 | this.clicked = !this.clicked; | 5 | this.clicked = !this.clicked; |
6 | toggle_expandbox(this); | 6 | toggle_expandbox(this); |
7 | $.each($(this).siblings('.expand-box'), function(index, value) { value.clicked = false; toggle_expandbox(value); }); | 7 | $.each($(this).siblings('.expand-box'), function(index, value) { value.clicked = false; toggle_expandbox(value); }); |