From b84ffbb8bc0fc634c007f437eb708102c3a6d552 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Thu, 17 Mar 2022 17:04:49 +0530 Subject: [PATCH] disable right click menu for images --- src/components/PhotoFrame.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/PhotoFrame.tsx b/src/components/PhotoFrame.tsx index 8c4eff47e..39fd968af 100644 --- a/src/components/PhotoFrame.tsx +++ b/src/components/PhotoFrame.tsx @@ -260,7 +260,7 @@ const PhotoFrame = ({ if (file.metadata.fileType === FILE_TYPE.VIDEO && !file.html) { file.html = `
- +
Loading...
@@ -272,7 +272,7 @@ const PhotoFrame = ({ ) { file.html = `
- +
Loading...
@@ -305,7 +305,7 @@ const PhotoFrame = ({ if (file.metadata.fileType === FILE_TYPE.VIDEO) { if (isPlayable) { file.html = ` -