User:AzaToth/morebits.js: Difference between revisions

Content deleted Content added
Amalthea (talk | contribs)
changing close button, per request.
Amalthea (talk | contribs)
fix redirect handling (WP:TW/BUG#357)
Line 1,469:
var xmlDoc = self.responseXML = this.responseXML;
var to = xmlDoc.evaluate( '//redirects/r/@to', xmlDoc, null, XPathResult.STRING_TYPE, null ).stringValue;
if( !this.parent.followRedirect ) {
this.parent.statelem.info('ignoring eventual redirect');
} else if( to ) {