|
@@ -90,9 +90,10 @@ function go_privacy() {
|
|
|
|
|
|
function is_ios() {
|
|
|
// body...
|
|
|
- if ( api.systemType == "android" ) {
|
|
|
+ // if ( api.systemType == "android" ) {
|
|
|
var mam = api.require('mam');
|
|
|
mam.checkUpdate(function(ret, err){
|
|
|
+ console.log(JSON.stringify(ret),JSON.stringify(err));
|
|
|
if (ret) {
|
|
|
var result = ret.result;
|
|
|
if (result.update == true && result.closed == false) {
|
|
@@ -100,11 +101,11 @@ function is_ios() {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- } else {
|
|
|
- $("#is_update_btn").html('');
|
|
|
- $("#is_update_btn").removeClass("weui-btn");
|
|
|
- $("#is_update_btn").removeClass("weui-btn_plain-default");
|
|
|
- }
|
|
|
+ // } else {
|
|
|
+ // $("#is_update_btn").html('');
|
|
|
+ // $("#is_update_btn").removeClass("weui-btn");
|
|
|
+ // $("#is_update_btn").removeClass("weui-btn_plain-default");
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
</script>
|