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

11 lines
260 B
JavaScript
Raw Normal View History

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,
});
};