mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 12:08:00 +01:00
Scope tag input select to tag block
This commit is contained in:
parent
282b8b7322
commit
a7e58f5884
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import { TermSuggestion } from './utils/suggestions';
|
|||
export function setupTagsInput(tagBlock: HTMLDivElement) {
|
||||
const form = assertNotNull(tagBlock.closest('form'));
|
||||
const textarea = assertNotNull($<HTMLTextAreaElement>('.js-taginput-plain', tagBlock));
|
||||
const container = assertNotNull($<HTMLDivElement>('.js-taginput-fancy'));
|
||||
const container = assertNotNull($<HTMLDivElement>('.js-taginput-fancy', tagBlock));
|
||||
const parentField = assertNotNull(tagBlock.parentElement);
|
||||
const setup = assertNotNull($<HTMLButtonElement>('.js-tag-block ~ button', parentField));
|
||||
const inputField = assertNotNull($<HTMLInputElement>('input', container));
|
||||
|
|
Loading…
Reference in a new issue