mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed issue when closing player from frontpage
This commit is contained in:
@@ -153,6 +153,7 @@ var Helper = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
setHtml: function(element, html) {
|
setHtml: function(element, html) {
|
||||||
|
try {
|
||||||
if(typeof(element) == "object") {
|
if(typeof(element) == "object") {
|
||||||
element.innerHTML = html;
|
element.innerHTML = html;
|
||||||
} else if(element.substring(0,1) == "#") {
|
} else if(element.substring(0,1) == "#") {
|
||||||
@@ -169,6 +170,7 @@ var Helper = {
|
|||||||
elements[i].innerHTML = html;
|
elements[i].innerHTML = html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch(e) {}
|
||||||
},
|
},
|
||||||
|
|
||||||
attr: function(element, attr, value) {
|
attr: function(element, attr, value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user