mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-04-25 07:57:01 -05:00
Add a mobile ad
Sorry, mobile is now over 50% of our traffic, and I'm worried about server prices. I hope you guys had fun playing ad-free up until now.
This commit is contained in:
parent
89c7c9419b
commit
2185deeb99
|
|
@ -96,6 +96,13 @@
|
|||
}
|
||||
if (!hasUnread) self.minimizePM($news);
|
||||
});
|
||||
|
||||
if (!app.roomsFirstOpen && window.location.host !== 'demo.psim.us' && window.innerWidth < 630) {
|
||||
if (Config.roomsFirstOpenScript) {
|
||||
Config.roomsFirstOpenScript(true);
|
||||
}
|
||||
app.roomsFirstOpen = 2;
|
||||
}
|
||||
},
|
||||
|
||||
addPseudoPM: function (options) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user