From cd2920826776b46660a51a4b399dc4c4d4bd636c Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 4 Dec 2017 11:46:15 +0100 Subject: [PATCH] fix toolbar's incorrect gotoDrive title --- www/common/toolbar3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index b06d358ba..5bc74b44f 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -747,7 +747,7 @@ define([ var origin = privateData.origin; var pathname = privateData.pathname; var href = inDrive.test(pathname) ? origin+'/index.html' : origin+'/drive/'; - var buttonTitle = inDrive ? Messages.header_homeTitle : Messages.header_logoTitle; + var buttonTitle = inDrive.test(pathname) ? Messages.header_homeTitle : Messages.header_logoTitle; var $aTag = $('', { href: href,