|
@@ -76,11 +76,11 @@ function validateKickout() {
|
|
|
if (top != self) {
|
|
|
top.location = self.location;
|
|
|
} else {
|
|
|
- var url = location.search;
|
|
|
+ var url = location.search;
|
|
|
if (url) {
|
|
|
- var oldUrl = window.location.href;
|
|
|
- var newUrl = oldUrl.substring(0, oldUrl.indexOf('?'));
|
|
|
- self.location = newUrl;
|
|
|
+ var oldUrl = window.location.href;
|
|
|
+ var newUrl = oldUrl.substring(0, oldUrl.indexOf('?'));
|
|
|
+ self.location = newUrl;
|
|
|
}
|
|
|
}
|
|
|
});
|