fix wardrobe.js crash on IE

This commit is contained in:
Emi Matchu 2011-05-25 08:23:43 -04:00
parent b57043e0d2
commit 9aba28090d

View file

@ -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;