mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27: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 };
|