no redeclaring state

This commit is contained in:
Christoph Holtermann 2017-12-15 00:11:44 +01:00 committed by Sam
parent e874afaf31
commit a0af15d525
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
var header = document.querySelector('header');
var state = 'unknown';
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