gitlab-org--gitlab-foss/app/assets/javascripts/snippets_list.js
2017-07-06 10:10:00 -05:00

9 lines
221 B
JavaScript

function SnippetsList() {
const $holder = $('.snippets-list-holder');
$holder.find('.pagination').on('ajax:success', (e, data) => {
$holder.replaceWith(data.html);
});
}
window.gl.SnippetsList = SnippetsList;