|
@@ -74,7 +74,7 @@ const updateBodyClassesByEditorMode = (newEditorMode: EditorMode, isSidebar = fa
|
|
|
const bodyElement = document.getElementsByTagName('body')[0];
|
|
const bodyElement = document.getElementsByTagName('body')[0];
|
|
|
if (bodyElement == null) {
|
|
if (bodyElement == null) {
|
|
|
logger.warn('The body tag was not successfully obtained');
|
|
logger.warn('The body tag was not successfully obtained');
|
|
|
- return
|
|
|
|
|
|
|
+ return;
|
|
|
}
|
|
}
|
|
|
switch (newEditorMode) {
|
|
switch (newEditorMode) {
|
|
|
case EditorMode.View:
|
|
case EditorMode.View:
|