Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
2016-10-20 15:05:16 +0800
Commit
076a439452da23a363c6e4dd9f6004f2d81b44e3
2 parents
6ec0b377
9dac26c1
Merge branch 'hotfix/brandfav' of git.yoho.cn:fe/yohobuy-node into hotfix/brandfav
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
public/js/product/detail.page.js
public/js/product/detail.page.js
View file @
076a439
...
...
@@ -813,13 +813,12 @@ window.fetchReturn = fetchReturn;
$
.
ajax
({
type
:
'GET'
,
url
:
'/product/index/isfav'
,
dataType
:
'html'
,
data
:
{
brandId
:
$
(
'#brand-favour'
).
data
(
'id'
)
}
}).
then
(
function
(
result
)
{
if
(
result
.
code
===
200
)
{
$
(
'#brand-favour'
).
toggle
Class
(
'coled'
);
$
(
'#brand-favour'
).
add
Class
(
'coled'
);
}
});
...
...
Please
register
or
login
to post a comment