+2
-2
@@ -121,10 +121,10 @@ export class Config {
|
||||
}
|
||||
|
||||
afterUpdate() {
|
||||
if (this.meta.mobileWidth === null) {
|
||||
if (this.meta.mobileWidth === undefined) {
|
||||
this.meta.mobileWidth = this.meta.width;
|
||||
}
|
||||
if (this.meta.mobileHeight === null && this.meta.mobileWidth) {
|
||||
if (this.meta.mobileHeight === undefined && this.meta.mobileWidth) {
|
||||
this.meta.mobileHeight = Math.round(this.meta.mobileWidth / 2.222222222);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user