diff --git a/bricks/jsoncall.js b/bricks/jsoncall.js index 8b29503..8875c29 100755 --- a/bricks/jsoncall.js +++ b/bricks/jsoncall.js @@ -44,10 +44,15 @@ bricks.HttpText = class { }; bricks.extend(this.headers, headers); var width=0, height=0; + var is_mobile = 0 + if (bricks.is_mobile()){ + is_mobile = 1; + } if (bricks.app) { width = bricks.app.screenWidth(); height = bricks.app.screenHeight(); } + this.params = { "_webbricks_":1, "width":width,