bugfix
This commit is contained in:
parent
73f546c977
commit
d85fb4cfc4
@ -44,10 +44,15 @@ bricks.HttpText = class {
|
|||||||
};
|
};
|
||||||
bricks.extend(this.headers, headers);
|
bricks.extend(this.headers, headers);
|
||||||
var width=0, height=0;
|
var width=0, height=0;
|
||||||
|
var is_mobile = 0
|
||||||
|
if (bricks.is_mobile()){
|
||||||
|
is_mobile = 1;
|
||||||
|
}
|
||||||
if (bricks.app) {
|
if (bricks.app) {
|
||||||
width = bricks.app.screenWidth();
|
width = bricks.app.screenWidth();
|
||||||
height = bricks.app.screenHeight();
|
height = bricks.app.screenHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.params = {
|
this.params = {
|
||||||
"_webbricks_":1,
|
"_webbricks_":1,
|
||||||
"width":width,
|
"width":width,
|
||||||
|
Loading…
Reference in New Issue
Block a user