gitlab-org--gitlab-foss/app/assets/javascripts/init_changes_dropdown.js
2018-06-05 21:17:47 -05:00

11 lines
288 B
JavaScript

import $ from 'jquery';
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,
});
};