Skip to content

Commit

Permalink
fix bug in IE (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
azazdeaz committed Nov 9, 2015
1 parent 3c05aad commit e080612
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/attachRefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ See also: https://github.com/azazdeaz/react-gsap-enhancer/issues/3`)
item = itemMap.get(key)
}
else {
item = itemMap.set(key, {
children: new Map(),
}).get(key)
item = {children: new Map()}
itemMap.set(key, item)
}

if (!item.ref) {
Expand Down

0 comments on commit e080612

Please sign in to comment.