Skip to content

Commit

Permalink
playgorund bugfix (#6218)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkettner authored Nov 11, 2021
1 parent 10acb27 commit cf8e3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ if (preview) {
const showPreview = new Fab(document.body, '▶︎', () => {
params.push('preview', true);
previewPanel.classList.add('show');
if (embedMode.isActive) {
if (modes.IS_EMBED) {
hidePreviewFab.show();
}
});
Expand All @@ -196,7 +196,7 @@ if (preview) {
params.push('preview', false);
previewPanel.classList.remove('show');
showPreview.show();
if (embedMode.isActive) {
if (modes.IS_EMBED) {
hidePreviewFab.hide();
}
};
Expand Down

0 comments on commit cf8e3d3

Please sign in to comment.