From 0a3ffb0bc85ead696d7d9fe366c6a03ef7281e01 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 22 Jul 2018 10:29:31 +0300 Subject: [PATCH] show an empty applies-to URL-prefix in manually added sections because global sections are less frequently used. --- edit/sections.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit/sections.js b/edit/sections.js index 99b6f198..7e19427b 100644 --- a/edit/sections.js +++ b/edit/sections.js @@ -97,7 +97,7 @@ function addSection(event, section) { } } if (!appliesToAdded) { - addAppliesTo(appliesTo); + addAppliesTo(appliesTo, event && 'url-prefix', ''); } appliesTo.addEventListener('change', onChange);