Skip to content

Commit

Permalink
[ui:cwd] tiny correction of fixed table header
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed May 27, 2016
1 parent ab900c9 commit d8fe8ae
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 @@ -603,6 +603,7 @@ $.fn.elfindercwd = function(fm, options) {
if (fm.direction === 'rtl') {
tableHeader.css('right', (fm.getUI().width() - wrapper.width()) + 'px');
}
setPos();
wrapper.after(tableHeader)
.on('scroll.fixheader resize.fixheader', function(e) {
setPos();
Expand Down Expand Up @@ -632,7 +633,6 @@ $.fn.elfindercwd = function(fm, options) {
tableHeader.css('right', (fm.getUI().width() - wrapper.width()) + 'px');
}
tableHeader.css(wrapper.position()).css('width', cwd.outerWidth() + 'px');
setPos();
}, 10));
}
},
Expand Down

0 comments on commit d8fe8ae

Please sign in to comment.