| 12257 | 12257 | |
| 12258 | 12258 | $(document).on('click', '.external_import_button, #external_import_button', async () => { |
| 12259 | 12259 | const html = await renderTemplateAsync('importCharacters'); |
| 12260 | | - |
| 12260 | + const input = await callGenericPopup(html, POPUP_TYPE.INPUT, '', { allowVerticalScrolling: true, wider: true, okButton: $('#popup_template').attr('popup-button-import'), rows: 4 }); |
| 12261 | | - /** @type {string?} */ |
| 12262 | | - const input = await callGenericPopup(html, POPUP_TYPE.INPUT, '', { wider: true, okButton: $('#popup_template').attr('popup-button-import'), rows: 4 }); |
| 12263 | 12261 | |
| 12264 | 12262 | if (!input) { |
| 12265 | 12263 | console.debug('Custom content import cancelled'); |