账号管理IE兼容问题

This commit is contained in:
liuz 2018-07-27 14:17:39 +08:00
parent ef397821d0
commit b59a83a2ed
2 changed files with 5 additions and 1 deletions

View File

@ -325,7 +325,8 @@ AsControl.switchDiv = function(sTargetWindow) {
}
var doc = frame.document;
if(!doc || !doc.body) return;
if($("#switch_page_mask", doc).length == 1) return;
//if($("#switch_page_mask", doc).length == 1) return;
if(document.getElementById("#switch_page_mask") != null) return;
var width = Math.max(doc.body.scrollWidth, doc.documentElement.scrollWidth);//-20;
var height = Math.max(doc.body.scrollHeight, doc.documentElement.scrollHeight);//-20;
var board = $("<div id='switch_page_mask' style='position:absolute;left:0;top:0;width:"+width+"px;height:"+height+"px;text-align:center;z-index:9999;'>"+

View File

@ -301,6 +301,9 @@ function imageAppearance(currentIndex) {
}
function drawMenu() {
if(left.document == null) {
left.document = left.contentDocument ? left.contentDocument : left.ownerDocument;
}
drawMenu2(left.document);
$(function(){
if(typeof window.keydownAction != "function") return;