diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-04 15:57:49 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-04 15:57:49 -0400 |
commit | 086397d8a18391823e223eeee23e6ef04350b354 (patch) | |
tree | 4aa87e1ccbd0740c9b987951985e86a351f634bb /apps/files/js | |
parent | 207ca3ec06f642477632c3b79ed50820cf3d324a (diff) | |
download | nextcloud-server-086397d8a18391823e223eeee23e6ef04350b354.tar.gz nextcloud-server-086397d8a18391823e223eeee23e6ef04350b354.zip |
Fix condition checking for resizing breadcrumbs
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(); |