FSN#37800 knownBookmarks niet via tabje als je PDA gebruikt

svn path=/Website/trunk/; revision=30850
This commit is contained in:
Jos Groot Lipman
2016-09-26 11:52:20 +00:00
parent d0233a1981
commit 275b0e03a5

View File

@@ -52,14 +52,20 @@
rest = rest.substring(rest.indexOf("u=")).substring(("u="+u).length+1);
var isKnownBookmark = false;
var isMobile = false;
if (u in known_bookmarks)
{
isKnownBookmark = true;
checkUserAgent(); // devicebits waren anders mogelijk nog niet gezet
if (device.test(device.isDesktop) || device.test(device.isTouch))
{
url = known_bookmarks[u].gui;
}
else
{
url = known_bookmarks[u].mob || known_bookmarks[u].gui;
isMobile = true;
}
url = url + keyparam;
if (keyparam > -1)
@@ -148,7 +154,7 @@
else
var theURL = protectQS.create(url);
if (isKnownBookmark)
if (isKnownBookmark && !isMobile)
{
Session("FirstPage") = theURL;
theURL = rooturl;