fix toolbar's incorrect gotoDrive title

pull/1/head
ansuz 7 years ago
parent e85e2dcabd
commit cd29208267

@ -747,7 +747,7 @@ define([
var origin = privateData.origin; var origin = privateData.origin;
var pathname = privateData.pathname; var pathname = privateData.pathname;
var href = inDrive.test(pathname) ? origin+'/index.html' : origin+'/drive/'; 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>', { var $aTag = $('<a>', {
href: href, href: href,

Loading…
Cancel
Save