Skip to content

Commit 325350d

Browse files
committed
banner not visible in embed
1 parent 0cd4d0b commit 325350d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/index.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ const initialState = window.__INITIAL_STATE__;
2020

2121
const store = configureStore(initialState);
2222

23-
if (window.location.href.indexOf('full') === -1) {
23+
if (
24+
window.location.href.indexOf('full') === -1 &&
25+
window.location.href.indexOf('embed') === -1
26+
) {
2427
// Add a banner to the page
2528
const banner = document.createElement('div');
2629
banner.id = 'processing-banner';

0 commit comments

Comments
 (0)