don't annoy mobileclient users
This commit is contained in:
parent
4f4543d19f
commit
170c72de2b
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ c3nav = {
|
|||
);
|
||||
});
|
||||
|
||||
if ((!localStorage || !localStorage.getItem('hideAppAds')) && navigator.userAgent.toLowerCase().indexOf("android") > -1) {
|
||||
if (!window.mobileclient && (!localStorage || !localStorage.getItem('hideAppAds')) && navigator.userAgent.toLowerCase().indexOf("android") > -1) {
|
||||
$('.app-ads').show();
|
||||
$('.app-ads .close').click(function() {
|
||||
localStorage.setItem('hideAppAds', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue