Skip to content

Commit

Permalink
[ui:cwd] fix #1576 reset the column width may not applied to the header
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Aug 6, 2016
1 parent 49aaf68 commit 47f26c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ui/cwd.js
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ $.fn.elfindercwd = function(fm, options) {
htd.data('delta', (htd.outerWidth() - htw) - (btd.outerWidth() - btw));
}
btw -= htd.data('delta');
if (htw === btw) {
if (! init && ! opts.fitWidth && htw === btw) {
break;
}
htd.css('width', btw + 'px');
Expand Down

0 comments on commit 47f26c0

Please sign in to comment.