fix toolbar's incorrect gotoDrive title

This commit is contained in:
ansuz 2017-12-04 11:46:15 +01:00
parent e85e2dcabd
commit cd29208267
1 changed files with 1 additions and 1 deletions

View File

@ -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 = $('<a>', {
href: href,