From b29e12b3878264fead34bbc48913cff97d2e0c2d Mon Sep 17 00:00:00 2001 From: cjgammon Date: Fri, 18 Oct 2013 12:55:49 -0700 Subject: [PATCH] die rotates in firefox --- demos/animated-game/js/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demos/animated-game/js/main.js b/demos/animated-game/js/main.js index ae82c61..b2fe6d2 100644 --- a/demos/animated-game/js/main.js +++ b/demos/animated-game/js/main.js @@ -86,8 +86,7 @@ var MainView = Backbone.View.extend({ } this.cube.style['webkitTransform'] = 'rotateX(' + rx + 'deg) rotateY(' + ry + 'deg) rotateZ(' + rz + 'deg)'; - - //setTimeout(this.trigger.bind(this), 1000); + this.cube.style['MozTransform'] = 'rotateX(' + rx + 'deg) rotateY(' + ry + 'deg) rotateZ(' + rz + 'deg)'; }, trigger: function () {