Showing
1 changed file
with
4 additions
and
3 deletions
@@ -146,12 +146,13 @@ function changeSizeChosed(newSizeIndex) { | @@ -146,12 +146,13 @@ function changeSizeChosed(newSizeIndex) { | ||
146 | $curSizeBlock = $(sizes[i]); | 146 | $curSizeBlock = $(sizes[i]); |
147 | queryString = '#' + $curSizeBlock.data('name'); | 147 | queryString = '#' + $curSizeBlock.data('name'); |
148 | curColorIndex = $(queryString).data('index'); | 148 | curColorIndex = $(queryString).data('index'); |
149 | - } | ||
150 | - } | ||
151 | - | ||
152 | $curSizeBlock.addClass('chosed'); | 149 | $curSizeBlock.addClass('chosed'); |
153 | return $curSizeBlock.data('num'); | 150 | return $curSizeBlock.data('num'); |
154 | } | 151 | } |
152 | + } | ||
153 | + $curSizeBlock = null; | ||
154 | + return 0; | ||
155 | + } | ||
155 | return 0; | 156 | return 0; |
156 | } | 157 | } |
157 | 158 |
-
Please register or login to post a comment