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
周少峰
8 years ago
Commit
2b5899c3622d120c58b4da47955974d743027e23
2 parents
6ec0b377
076a4394
Merge branch '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 @
2b5899c
...
...
@@ -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