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