Skip to content

Commit 2c8fe72

Browse files
author
zhangxinxu
committed
safari no need to hack
safari no need to hack
1 parent 68e7181 commit 2c8fe72

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/complex/js/wechat.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ Mobilebone.onpagefirstinto = function(pageinto) {
88
ele_screen_shot.width = window.innerWidth;
99
ele_screen_shot.height = Math.round(ele_screen_shot.width * 2405 / 720);
1010
}
11-
12-
11+
1312
// bind custom scroll events for content
1413
var weChatScroll = new IScroll(pageinto.querySelector(".content"), {
1514
tap: true
1615
});
17-
pageinto.addEventListener('tap', Mobilebone.handleTapEvent, false);
16+
/Android/i.test(navigator.userAgent) && pageinto.addEventListener('tap', Mobilebone.handleTapEvent, false);
1817
};
1918

2019
Mobilebone.callback = function(pageinto, pageout) {

0 commit comments

Comments
 (0)