19 lines
382 B
JavaScript
19 lines
382 B
JavaScript
/* eslint-disable no-new */
|
|
|
|
import ProtectedTagEdit from './protected_tag_edit';
|
|
|
|
export default class ProtectedTagEditList {
|
|
constructor() {
|
|
this.$wrap = $('.protected-tags-list');
|
|
this.initEditForm();
|
|
}
|
|
|
|
initEditForm() {
|
|
this.$wrap.find('.js-protected-tag-edit-form').each((i, el) => {
|
|
new ProtectedTagEdit({
|
|
$wrap: $(el),
|
|
});
|
|
});
|
|
}
|
|
}
|