mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-27 21:48:31 -05:00
Fix typo in internet block check
This commit is contained in:
@@ -209,7 +209,7 @@
|
||||
* triggered if the login server did not return a response
|
||||
*/
|
||||
finishRename: function (name, assertion) {
|
||||
if (assertion.slice(0, 14).toLowerCase() === '<!DOCTYPE html') {
|
||||
if (assertion.slice(0, 14).toLowerCase() === '<!doctype html') {
|
||||
// some sort of MitM proxy; ignore it
|
||||
var endIndex = assertion.indexOf('>');
|
||||
if (endIndex > 0) assertion = assertion.slice(endIndex + 1);
|
||||
|
||||
Reference in New Issue
Block a user