商品规格操作优化
parent
0b607d3229
commit
ccbf4f39ff
|
|
@ -300,7 +300,7 @@ $(function()
|
||||||
{
|
{
|
||||||
value = 1;
|
value = 1;
|
||||||
}
|
}
|
||||||
var spec_count = $('.specifications-table th.table-title').length || 0;
|
var spec_count = $('.specifications-table th.table-title').length || 1;
|
||||||
if(value > spec_count)
|
if(value > spec_count)
|
||||||
{
|
{
|
||||||
value = spec_count;
|
value = spec_count;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue