Skip to content

Commit

Permalink
Fixed Bug 52931 - Client. Files. Media. Fixed console error
Browse files Browse the repository at this point in the history
  • Loading branch information
gopienkonikita committed Nov 18, 2021
1 parent 92cd049 commit 612c953
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 612c953

Please sign in to comment.