mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Fix condition checking for resizing breadcrumbs
This commit is contained in:
parent
207ca3ec06
commit
086397d8a1
1 changed files with 1 additions and 1 deletions
|
|
@ -547,7 +547,7 @@ $(document).ready(function() {
|
|||
function resizeBreadcrumbs(firstRun) {
|
||||
var width = $(this).width();
|
||||
if (width != lastWidth) {
|
||||
if (width < lastWidth || firstRun && width < breadcrumbsWidth) {
|
||||
if ((width < lastWidth || firstRun) && width < breadcrumbsWidth) {
|
||||
if (hiddenBreadcrumbs == 0) {
|
||||
breadcrumbsWidth -= $(breadcrumbs[1]).get(0).offsetWidth;
|
||||
$(breadcrumbs[1]).find('a').hide();
|
||||
|
|
|
|||
Loading…
Reference in a new issue