2018-05-09 12:01:36 +05:30
|
|
|
import $ from 'jquery';
|
2017-09-10 17:25:29 +05:30
|
|
|
import stickyMonitor from './lib/utils/sticky';
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
export default (stickyTop) => {
|
|
|
|
stickyMonitor(document.querySelector('.js-diff-files-changed'), stickyTop);
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
$('.js-diff-stats-dropdown').glDropdown({
|
|
|
|
filterable: true,
|
|
|
|
remoteFilter: false,
|
|
|
|
});
|
|
|
|
};
|