I've been trying to add animation to my game. I am attempting to do this using 'slideTemporaryObject', although I'm not sure this is the best way for me to do it.
The error I get, consistently, is:
TypeError: Cannot read property of 'ownerDocument' of null
I can't seem to get a reliable stack trace from this, although if I quickly cust-and-paste it from the screen, it looks like this:
Javascript error:
During notification cardDiscarded
Cannot read property 'ownerDocument' of null
TypeError: Cannot read property 'ownerDocument' of null
at Object.geom.position (http://en.1.studio.boardgamearena.com/t ... s:15:72113)
at _62b.slideToObject (http://en.1.studio.boardgamearena.com/t ... :15:253601)
at _62b.slideTemporaryObject (http://en.1.studio.boardgamearena.com/t ... :15:255821)
I've checked, and both the 'from' object and the 'to' object exist in the dom. It also seems to create the temporary object and place it on the screen.
Any ideas?
The error I get, consistently, is:
TypeError: Cannot read property of 'ownerDocument' of null
I can't seem to get a reliable stack trace from this, although if I quickly cust-and-paste it from the screen, it looks like this:
Javascript error:
During notification cardDiscarded
Cannot read property 'ownerDocument' of null
TypeError: Cannot read property 'ownerDocument' of null
at Object.geom.position (http://en.1.studio.boardgamearena.com/t ... s:15:72113)
at _62b.slideToObject (http://en.1.studio.boardgamearena.com/t ... :15:253601)
at _62b.slideTemporaryObject (http://en.1.studio.boardgamearena.com/t ... :15:255821)
I've checked, and both the 'from' object and the 'to' object exist in the dom. It also seems to create the temporary object and place it on the screen.
Any ideas?