mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
Fix setting source url in uploader after fetch (#195)
This commit is contained in:
parent
c7c6d883bb
commit
1918e92c30
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ function setupImageUpload() {
|
||||||
const [fileField, remoteUrl, scraperError] = $$('.js-scraper', form);
|
const [fileField, remoteUrl, scraperError] = $$('.js-scraper', form);
|
||||||
const descrEl = $('.js-image-descr-input', form);
|
const descrEl = $('.js-image-descr-input', form);
|
||||||
const tagsEl = $('.js-image-tags-input', form);
|
const tagsEl = $('.js-image-tags-input', form);
|
||||||
const sourceEl = $$('.js-image-source', form).find(input => input.value === '');
|
const sourceEl = $$('.js-source-url', form).find(input => input.value === '');
|
||||||
const fetchButton = $('#js-scraper-preview');
|
const fetchButton = $('#js-scraper-preview');
|
||||||
if (!fetchButton) return;
|
if (!fetchButton) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue