Skip to content
Browse files

update 判定是否位于iframe中,加强跨域处理

  • Loading branch information...
1 parent ecb541b commit 23d61cfb55195980e77b69be15f81b536386c4be @RubyLouvre committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mass.js
View
2 mass.js
@@ -666,7 +666,7 @@
}
});
if (html.doScroll) {
- try {
+ try {//如果跨域会报错,那时肯定证明是存在两个窗口
if (self.eval === parent.eval) {
doScrollCheck();
}

0 comments on commit 23d61cf

Please sign in to comment.
Something went wrong with that request. Please try again.