mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 06:43:02 -05:00
Minor stylistic changes
This commit is contained in:
@@ -276,7 +276,7 @@
|
||||
});
|
||||
|
||||
this.user.on('login:invalidname', function(name, reason) {
|
||||
app.addPopup(LoginPopup, {name: name, reason: reason});
|
||||
self.addPopup(LoginPopup, {name: name, reason: reason});
|
||||
});
|
||||
|
||||
this.user.on('login:authrequired', function(name) {
|
||||
@@ -334,8 +334,7 @@
|
||||
if ((document.location.hostname !== Config.origindomain) && !Config.testclient) {
|
||||
// Handle *.psim.us.
|
||||
return this.initializeCrossDomainConnection();
|
||||
}
|
||||
if (Config.testclient) {
|
||||
} else if (Config.testclient) {
|
||||
this.initializeTestClient();
|
||||
} else if (document.location.protocol === 'https:') {
|
||||
if (!$.cookie('showdown_ssl')) {
|
||||
|
||||
Reference in New Issue
Block a user