HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  

Share
 

 JavaScript Coding Updates

View previous topic View next topic Go down 

Should the mobile users be directed to the classic version instead of the mobile version?
Yes
JavaScript Coding Updates Empty50%JavaScript Coding Updates Empty
 50% [ 1 ]
No
JavaScript Coding Updates Empty50%JavaScript Coding Updates Empty
 50% [ 1 ]
Total Votes : 2
 

AuthorMessage

Information
Peanut

Head Co-Admin

Peanut

JavaScript Coding Updates Manage12
Posts : 216
Credits : 328
Join date : 2014-10-13
Age : 22
Location : Malaysia
JavaScript Coding Updates Green10

JavaScript Coding Updates Empty

PostSubject: JavaScript Coding Updates   JavaScript Coding Updates EmptyMon Nov 02, 2015 10:27 am

I added this code to the JavaScript Codes:

Code:
$(function() {
          if(window._userdata && _userdata.page_desktop) window.location = _userdata.page_desktop;
});

This is to redirect users to the Classic Version of WCC instead of the Mobile Version, since the drop down list that lets you access to the Classic Version is missing.

Information
Titania

Founder

Titania

JavaScript Coding Updates Manage12
Posts : 314
Credits : 497
Join date : 2014-10-13
Age : 20
Location : ~Philippines~
JavaScript Coding Updates Green10

JavaScript Coding Updates Empty

PostSubject: Re: JavaScript Coding Updates   JavaScript Coding Updates EmptyMon Nov 02, 2015 11:37 am http://winxclub.site-forums.com

The problem has been fixed! There was an error in the JavaScript which caused the drop down button to disappear. A voting shall take place if the mobile users shall be directed to the classic version of the forum instead of the mobile version. Thank you for your patience!
 
JavaScript Coding Updates
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
WCC Support :: Updates :: Updates and Information :: WCC Updates-
© Copyright 2015, WCC Support. All rights reserved.

Credits goes to Titania for creating this theme.