fix toolbar drive link (oops)
This commit is contained in:
parent
7f2b7fc287
commit
17b986a6ca
@ -624,7 +624,7 @@ define([
|
|||||||
}).appendTo(toolbar.$top);
|
}).appendTo(toolbar.$top);
|
||||||
|
|
||||||
// We need to override the "a" tag action here because it is inside the iframe!
|
// We need to override the "a" tag action here because it is inside the iframe!
|
||||||
var inDrive = /^\/drive/;
|
var inDrive = /^\/drive/.test(window.location.pathname);
|
||||||
|
|
||||||
var href = inDrive ? '/index.html' : '/drive/';
|
var href = inDrive ? '/index.html' : '/drive/';
|
||||||
var buttonTitle = inDrive ? Messages.header_homeTitle : Messages.header_logoTitle;
|
var buttonTitle = inDrive ? Messages.header_homeTitle : Messages.header_logoTitle;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user