\r
isCustomDomain : function()\r
{\r
- return this.ie && document.domain != window.location.hostname;\r
+ if ( !this.ie )\r
+ return false;\r
+\r
+ var domain = document.domain,\r
+ hostname = window.location.hostname;\r
+\r
+ return domain != hostname &&\r
+ domain != ( '[' + hostname + ']' ); // IPv6 IP support (#5434)\r
}\r
};\r
\r