From 277c0d6b00072e77e28f19a686b004fc1f67c95e Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Wed, 8 May 2024 16:05:32 +0200 Subject: [PATCH] maybe fix --- frontend/src/scripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 981e8e1..17a70f2 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -97,7 +97,7 @@ class Main extends Component { showPlayButton={false} startIndex={this.state.currentImage} showThumbnails={false} - renderCustomControls={this.renderCloseButton} + renderCustomControls={this.renderCloseButton.bind(this)} /> }