typo
This commit is contained in:
parent
3c4d5d4a00
commit
f73d722970
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ window.addEventListener('message', function(event) {
|
||||||
if (data.event == 'close') {
|
if (data.event == 'close') {
|
||||||
var element = document.getElementById(data.id);
|
var element = document.getElementById(data.id);
|
||||||
Array.prototype.forEach.call(element.parentElement.getElementsByClassName('button'), function(element) {
|
Array.prototype.forEach.call(element.parentElement.getElementsByClassName('button'), function(element) {
|
||||||
if (editable || element.className = 'button playButton') {
|
if (editable || element.className == 'button playButton') {
|
||||||
element.style.display = 'block';
|
element.style.display = 'block';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue