Authored by 周少峰

Merge branch 'hotfix/yhood-ticket'

... ... @@ -32,7 +32,7 @@ var thumbsLoaded = {};
var $main = $('.main'),
id = $main.data('id'),
isTicket = $('input[name="isTicket"]').length > 0 && $('input[name="isTicket"]').val() === true;
isTicket = $('input[name="isTicket"]').length > 0 && $('input[name="isTicket"]').val() === 'true';
var maxStock = -1; // 记录当前选中的颜色-尺码的库存量,若为-1,代表未选择尺码
... ...