2018-03-09 15:18:59 -05:00
|
|
|
import $ from 'jquery';
|
2018-06-05 22:17:47 -04:00
|
|
|
import { stickyMonitor } from './lib/utils/sticky';
|
2017-08-07 09:21:12 -04:00
|
|
|
|
2018-06-01 12:41:50 -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,
|
|
|
|
});
|
|
|
|
};
|