mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
no redeclaring state
This commit is contained in:
committed by
Sam
parent
e874afaf31
commit
a0af15d525
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user