Embed: fix javascript error for audio players on touch devices
This commit is contained in:
parent
615fad6be9
commit
15ff0dcb9f
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
@ -633,7 +633,7 @@ MistSkins["default"] = {
|
|||
MistUtil.class.add(this.container,"hasControls");
|
||||
|
||||
var container = this.UI.buildStructure(this.skin.structure.controls);
|
||||
if (MistUtil.isTouchDevice() && (this.size.width > 300)) {
|
||||
if (MistUtil.isTouchDevice() && this.size && (this.size.width > 300)) {
|
||||
container.style.zoom = 1.5;
|
||||
}
|
||||
return container;
|
||||
|
|
Loading…
Add table
Reference in a new issue