2018-03-09 15:18:59 -05:00
|
|
|
import $ from 'jquery';
|
2017-08-07 09:21:12 -04:00
|
|
|
import stickyMonitor from './lib/utils/sticky';
|
|
|
|
|
2017-10-23 05:21:38 -04:00
|
|
|
export default (stickyTop) => {
|
|
|
|
stickyMonitor(document.querySelector('.js-diff-files-changed'), stickyTop);
|
2017-08-07 09:21:12 -04:00
|
|
|
|
|
|
|
$('.js-diff-stats-dropdown').glDropdown({
|
|
|
|
filterable: true,
|
|
|
|
remoteFilter: false,
|
|
|
|
});
|
|
|
|
};
|