no redeclaring state
This commit is contained in:
parent
e874afaf31
commit
a0af15d525
|
@ -42,7 +42,7 @@
|
||||||
var header = document.querySelector('header');
|
var header = document.querySelector('header');
|
||||||
var state = 'unknown';
|
var state = 'unknown';
|
||||||
if (header) {
|
if (header) {
|
||||||
var state = header.getAttribute('data-embed-state');
|
state = header.getAttribute('data-embed-state');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send a post message with our loaded height and state
|
// Send a post message with our loaded height and state
|
||||||
|
|
Loading…
Reference in New Issue