aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/proxyapp.jsx.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/components/proxyapp.jsx.js')
-rw-r--r--web/src/js/components/proxyapp.jsx.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/src/js/components/proxyapp.jsx.js b/web/src/js/components/proxyapp.jsx.js
index 20162ad1..91cd268f 100644
--- a/web/src/js/components/proxyapp.jsx.js
+++ b/web/src/js/components/proxyapp.jsx.js
@@ -24,6 +24,7 @@ var ProxyAppMain = React.createClass({
},
componentDidMount: function () {
this.state.settings.addListener("recalculate", this.onSettingsChange);
+ window.app = this;
},
componentWillUnmount: function () {
this.state.settings.removeListener("recalculate", this.onSettingsChange);