diff options
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index d003dab3dd2..1b51b0e5df9 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -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(); |