From fd32362aa6d77974e13f5184aa2061e0a03a3421 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 7 Jan 2016 10:18:18 +0000 Subject: [PATCH] oops, initialise fixups per-object, not per-prototype --- src/components/views/elements/TintableSvg.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/views/elements/TintableSvg.js b/src/components/views/elements/TintableSvg.js index 91f785d5bc..81fbed1921 100644 --- a/src/components/views/elements/TintableSvg.js +++ b/src/components/views/elements/TintableSvg.js @@ -24,8 +24,6 @@ var Tinter = require("../../../Tinter"); module.exports = React.createClass({ displayName: 'TintableSvg', - fixups: [], - propTypes: { src: React.PropTypes.string.isRequired, width: React.PropTypes.string.isRequired, @@ -34,6 +32,7 @@ module.exports = React.createClass({ }, componentWillMount: function() { + this.fixups = []; this.dispatcherRef = dis.register(this.onAction); },