From 081b4f3382c69bd6e5845b2ded185d0b582eabff Mon Sep 17 00:00:00 2001 From: Philip Steinebrunner Date: Fri, 21 Nov 2014 12:22:56 +0100 Subject: [PATCH] Pass only strings to setProperty as the value argument on IE9 requires DOMString. --- move.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.js b/move.js index 7c2b3ae..fcaf42b 100644 --- a/move.js +++ b/move.js @@ -1201,7 +1201,7 @@ Move.prototype.transition = function(prop){ Move.prototype.applyProperties = function(){ for (var prop in this._props) { - this.el.style.setProperty(prop, this._props[prop], ''); + this.el.style.setProperty(prop, this._props[prop].toString(), ''); } return this; };