Tags separator: vintage theme compatibility

This commit is contained in:
ArthurHoaro 2020-11-05 18:16:52 +01:00
parent 67339338af
commit df9aac5b64
5 changed files with 35 additions and 26 deletions
assets/default/js

View file

@ -217,7 +217,7 @@ function init(description) {
(() => {
const basePath = document.querySelector('input[name="js_base_path"]').value;
const tagsSeparatorElement = document.querySelector('input[name="tags_separator"]');
const tagsSeparator = tagsSeparatorElement ? tagsSeparatorElement.value || '\s' : '\s';
const tagsSeparator = tagsSeparatorElement ? tagsSeparatorElement.value || ' ' : ' ';
/**
* Handle responsive menu.