Skip to content

Commit

Permalink
Revert "Revert "Merge pull request #8818 from Automattic/fix/media-mo…
Browse files Browse the repository at this point in the history
…dal-reset-view""

This reverts commit 5d23322.
  • Loading branch information
aduth committed Oct 25, 2016
1 parent ae83e20 commit af53e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/post-editor/media-modal/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const EditorMediaModal = React.createClass( {
},

componentWillUnmount() {
this.props.resetMediaModalView();
this.props.resetView();
},

getDefaultState: function( props ) {
Expand Down

0 comments on commit af53e11

Please sign in to comment.