1
0
Fork 0
forked from OpenNeo/impress

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() {
var slug = item.id.toString();
if(this.hasOwnProperty('name')) {
if(item.hasOwnProperty('name')) {
slug += '-' + getNameForSlug();
}
return slug;