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,