From 69f4ce2abd4b1a904c283cdb1174afa6f863fdb6 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 4 Jul 2017 17:03:54 +0200 Subject: [PATCH] Fix middle click on the drive button --- www/common/toolbar2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/common/toolbar2.js b/www/common/toolbar2.js index 78f4bf946..d225c0184 100644 --- a/www/common/toolbar2.js +++ b/www/common/toolbar2.js @@ -593,17 +593,17 @@ define([ // We need to override the "a" tag action here because it is inside the iframe! var $aTag = $('', { - href: "/", + href: "/drive/", title: Messages.header_logoTitle, 'class': "cryptpad-logo fa fa-hdd-o" }); var onClick = function (e) { e.preventDefault(); if (e.ctrlKey) { - window.open('/drive'); + window.open('/drive/'); return; } - window.location = "/drive"; + window.location = "/drive/"; }; var onContext = function (e) { e.stopPropagation(); };