fixed modal name assignment
This commit is contained in:
parent
c50ecaebc0
commit
ce9317034d
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ exports.index = function(req, res){
|
||||||
vehicles.push(
|
vehicles.push(
|
||||||
{
|
{
|
||||||
slug: $link.attr('href').replace(/\/vehicles\//,''),
|
slug: $link.attr('href').replace(/\/vehicles\//,''),
|
||||||
name: $link.attr('title'),
|
name: $link.text(),
|
||||||
img: host + $link.find('img').attr('src').split('?')[0]
|
img: host + $link.find('img').attr('src').split('?')[0]
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue