From e12877e7d8918535e495ff3b75dfe1f0b8f8d53b Mon Sep 17 00:00:00 2001 From: KDSBrowne Date: Thu, 21 Jul 2022 20:02:43 +0000 Subject: [PATCH 1/2] fix console error --- .../imports/ui/components/whiteboard/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx index 5d06eb70ae..e87bded06d 100644 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx @@ -236,7 +236,7 @@ export default function Whiteboard(props) { } else { // disable hover highlight for background slide shape app.setHoveredId = (id) => { - if (id.includes('slide-background')) return null; + if (id?.includes('slide-background')) return null; app.patchState( { document: { From a485f372f6c0872dd835a855f638b984e4bdbda8 Mon Sep 17 00:00:00 2001 From: KDSBrowne Date: Wed, 27 Jul 2022 18:46:44 +0000 Subject: [PATCH 2/2] fix console error --- .../imports/ui/components/whiteboard/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx index 8c0b996dd3..5657bdc57f 100644 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx @@ -217,7 +217,7 @@ export default function Whiteboard(props) { } else { // disable hover highlight for background slide shape app.setHoveredId = (id) => { - if (id.includes('slide-background')) return null; + if (id?.includes('slide-background')) return null; app.patchState( { document: {