Skip to content

Commit b8b0aa8

Browse files
committed
Add blank default to copy container selector
1 parent 9a9d870 commit b8b0aa8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/ui/options.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ <h3 class="flextabs__tab"><button class="flextabs__toggle enforcement_required">
9595
<div class="per-site-buttons" id="per-site-buttons">
9696
<label for="copy-container" id="copy-container-label">Copy permissions from container:</label>
9797
<select name="copy-container" id="copy-container">
98+
<option value=blank></option>
9899
<option value="default">Default</option>
99100
</select>
100101
<div style="inline-size:0;margin-inline:.5em;border:1px solid #888"></div>

src/ui/options.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ document.querySelector("#version").textContent = _("Version",
231231
sitesUI.policy = currentPolicy;
232232
sitesUI.render(currentPolicy.sites);
233233
}
234+
containerCopy.value = "blank";
234235
}
235236
containerCopy.onchange = copyContainer;
236237

@@ -251,7 +252,7 @@ document.querySelector("#version").textContent = _("Version",
251252
}
252253
containerSelect.innerHTML = container_options;
253254
containerSelect.value = cookieStoreId;
254-
containerCopy.innerHTML = container_options;
255+
containerCopy.innerHTML = "<option value=blank></option>" + container_options;
255256
}
256257
containerSelect.onfocus = updateContainerOptions;
257258
containerCopy.onfocus = updateContainerOptions;

0 commit comments

Comments
 (0)