debian-mirror-gitlab/app/assets/javascripts/init_changes_dropdown.js

12 lines
288 B
JavaScript
Raw Normal View History

2018-05-09 12:01:36 +05:30
import $ from 'jquery';
2018-11-08 19:23:39 +05:30
import { stickyMonitor } from './lib/utils/sticky';
2017-09-10 17:25:29 +05:30
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,
});
};