fix wardrobe.js crash on IE
This commit is contained in:
parent
b57043e0d2
commit
9aba28090d
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ function Wardrobe() {
|
||||||
|
|
||||||
function getSlug() {
|
function getSlug() {
|
||||||
var slug = item.id.toString();
|
var slug = item.id.toString();
|
||||||
if(this.hasOwnProperty('name')) {
|
if(item.hasOwnProperty('name')) {
|
||||||
slug += '-' + getNameForSlug();
|
slug += '-' + getNameForSlug();
|
||||||
}
|
}
|
||||||
return slug;
|
return slug;
|
||||||
|
|
Loading…
Reference in a new issue