Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
8526d75a502772e80b7a8014e58df8fc231c70b8
1 parent
e1deb002
尺码默认选中
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
public/js/product/item.page.js
public/js/product/item.page.js
View file @
8526d75
...
...
@@ -62,7 +62,8 @@ function changeThumb($dom) {
function
chooseDefaultSize
()
{
var
$item
=
$sizeList
.
not
(
'.hide'
).
children
();
if
(
$item
&&
$item
.
length
===
1
)
{
if
(
$colorItem
&&
$colorItem
.
length
===
1
&&
$item
&&
$item
.
length
===
1
)
{
$item
.
trigger
(
'click'
);
}
}
...
...
Please
register
or
login
to post a comment