Commit 2558f811 authored by hbcui1984's avatar hbcui1984

hello mui中下拉刷新,“敲击顶部、回到顶部”改为双击操作

parent e46bc670
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
titleElem.className = "mui-title mui-fadein"; titleElem.className = "mui-title mui-fadein";
}); });
var contentWebview = null; var contentWebview = null;
document.querySelector('header').addEventListener('tap',function () { document.querySelector('header').addEventListener('doubletap',function () {
if(contentWebview==null){ if(contentWebview==null){
contentWebview = plus.webview.currentWebview().children()[0]; contentWebview = plus.webview.currentWebview().children()[0];
} }
......
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 to comment