show an empty applies-to URL-prefix in manually added sections

because global sections are less frequently used.
This commit is contained in:
tophf 2018-07-22 10:29:31 +03:00
parent d03ed69b6e
commit 0a3ffb0bc8

View File

@ -97,7 +97,7 @@ function addSection(event, section) {
}
}
if (!appliesToAdded) {
addAppliesTo(appliesTo);
addAppliesTo(appliesTo, event && 'url-prefix', '');
}
appliesTo.addEventListener('change', onChange);