mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
12 lines
341 B
JavaScript
12 lines
341 B
JavaScript
import { inputDuplicatorCreator } from './input-duplicator';
|
|
|
|
function pollOptionCreator() {
|
|
inputDuplicatorCreator({
|
|
addButtonSelector: '.js-poll-add-option',
|
|
fieldSelector: '.js-poll-option',
|
|
maxInputCountSelector: '.js-max-option-count',
|
|
removeButtonSelector: '.js-option-remove',
|
|
});
|
|
}
|
|
|
|
export { pollOptionCreator };
|