Merge branch 'cryptDriveToolbar' of github.com:xwiki-labs/cryptpad into cryptDriveToolbar

pull/1/head
yflory 2019-06-07 11:05:32 +02:00
commit 770af27b02
1 changed files with 2 additions and 1 deletions

View File

@ -1648,7 +1648,8 @@ define([
var $pathElements = $container.find(".cp-app-drive-path-element");
$pathElements.not($spanCollapse).css("display", "");
if (currentPath.length > 1 && drivePathOverflowing()) {
var oneFolder = currentPath.length > 1 + (currentPath[0] === SHARED_FOLDER);
if (oneFolder && drivePathOverflowing()) {
var collapseLevel = 0;
var removeOverflowElement = function () {
if (drivePathOverflowing()) {