diff --git a/README.markdown b/README.markdown
index e8ea4d417..f80c12409 100644
--- a/README.markdown
+++ b/README.markdown
@@ -216,7 +216,7 @@ The element tags are the bread and butter of your slide content. Most of these t
####\
and \ (Base) diff --git a/src/appear.jsx b/src/appear.jsx index b1423a7e7..4c6dbd906 100644 --- a/src/appear.jsx +++ b/src/appear.jsx @@ -21,15 +21,15 @@ const Appear = React.createClass({ }, componentDidMount() { this.context.flux.stores.SlideStore.listen(this._storeChange); - const slide = this.context.slide; }, componentWillUnmount() { this.context.flux.stores.SlideStore.unlisten(this._storeChange); }, _storeChange(state) { const slide = this.context.slide; + const fragment = React.findDOMNode(this.refs.fragment); const key = _.findKey(state.fragments[slide], { - "id": this.props.fid + "id": parseInt(fragment.dataset.fid) }); if (slide in state.fragments && state.fragments[slide].hasOwnProperty(key)) { this.setState({ @@ -52,7 +52,7 @@ const Appear = React.createClass({ opacity: this.getTweeningValue("opacity") }; return ( -