diff --git a/packages/asc-web-common/components/MediaViewer/sub-components/image-viewer.js b/packages/asc-web-common/components/MediaViewer/sub-components/image-viewer.js index 6a8c30adc56..17e16cb48e6 100644 --- a/packages/asc-web-common/components/MediaViewer/sub-components/image-viewer.js +++ b/packages/asc-web-common/components/MediaViewer/sub-components/image-viewer.js @@ -211,10 +211,10 @@ var customToolbar = [ ]; class ImageViewer extends React.Component { - componentDidUpdate() { - document.getElementsByClassName("iconContainer reset").length > 0 && - document.getElementsByClassName("iconContainer reset")[0].click(); - } + // componentDidUpdate() { + // document.getElementsByClassName("iconContainer reset").length > 0 && + // document.getElementsByClassName("iconContainer reset")[0].click(); + // } render() { const {