gitlab-org--gitlab-foss/app/assets/javascripts/init_changes_dropdown.js

12 lines
286 B
JavaScript
Raw Normal View History

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