|
@@ -2107,7 +2107,17 @@ function subData(){
|
|
|
}
|
|
|
//
|
|
|
$(function(){
|
|
|
-
|
|
|
+ var u = navigator.userAgent;
|
|
|
+ var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
|
|
+ var isPageHide = false;
|
|
|
+ window.addEventListener('pageshow', function () {
|
|
|
+ if (isPageHide && isiOS) {
|
|
|
+ window.location.reload();
|
|
|
+ }
|
|
|
+ });
|
|
|
+ window.addEventListener('pagehide', function () {
|
|
|
+ isPageHide = true;
|
|
|
+ });
|
|
|
$(document).on("click",function(e) {
|
|
|
if($(e.target).parents(".easyalert-mask").length == 0){
|
|
|
$("#easyalert-mask").remove();
|