debian-mirror-gitlab/app/assets/javascripts/init_changes_dropdown.js
2018-03-17 18:26:18 +05:30

10 lines
260 B
JavaScript

import stickyMonitor from './lib/utils/sticky';
export default (stickyTop) => {
stickyMonitor(document.querySelector('.js-diff-files-changed'), stickyTop);
$('.js-diff-stats-dropdown').glDropdown({
filterable: true,
remoteFilter: false,
});
};