This commit is contained in:
rolux 2013-02-14 13:24:17 +05:30
parent 3c4d5d4a00
commit f73d722970

View file

@ -4,7 +4,7 @@ window.addEventListener('message', function(event) {
if (data.event == 'close') {
var element = document.getElementById(data.id);
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';
}
});