Commit b6316521 by doszhang

dos

parent 190f9c29
...@@ -124,12 +124,12 @@ $(document).ready(function () { ...@@ -124,12 +124,12 @@ $(document).ready(function () {
var resizeHeight = document.documentElement.clientHeight || document.body.clientHeight; var resizeHeight = document.documentElement.clientHeight || document.body.clientHeight;
if ((resizeHeight) < (originalHeight)) { if ((resizeHeight) < (originalHeight)) {
//当软键盘弹起,在此处操作 //当软键盘弹起,在此处操作
if (browser.versions.weixin && ($('input[name=name]').is(":focus") || $('input[name=business]').is(":focus"))) { if (browser.versions.android && ($('input[name=name]').is(":focus") || $('input[name=business]').is(":focus"))) {
alert(resizeHeight); alert(resizeHeight);
} }
} else { } else {
//当软键盘收起,在此处操作 //当软键盘收起,在此处操作
if (browser.versions.weixin) { if (browser.versions.android) {
alert(resizeHeight); alert(resizeHeight);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment