Showing
1 changed file
with
2 additions
and
7 deletions
@@ -88,13 +88,8 @@ var YohoListPage = { | @@ -88,13 +88,8 @@ var YohoListPage = { | ||
88 | } | 88 | } |
89 | }); | 89 | }); |
90 | 90 | ||
91 | - $('.color-body .input-radio', this.rootDoc).check({ | ||
92 | - type: 'radio', | ||
93 | - onChange: function(ele, checked, value) { | ||
94 | - YohoListPage.go({ | ||
95 | - color: checked ? value : '' | ||
96 | - }); | ||
97 | - } | 91 | + $('.color-body .input-radio', this.rootDoc).click(function() { |
92 | + YohoListPage.go({color: $(this).data('value')}); | ||
98 | }); | 93 | }); |
99 | 94 | ||
100 | YohoListPage.eventBind(); | 95 | YohoListPage.eventBind(); |
-
Please register or login to post a comment