Update popup.js

This commit is contained in:
BPower0036 2022-05-05 09:55:39 +00:00 committed by GitHub
parent ebbc05932d
commit bcd54b01c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1890,7 +1890,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
return Utils.escaped`<input type="radio" value="${containerColor}" name="container-color" id="edit-container-panel-choose-color-${containerColor}" />
<label for="edit-container-panel-choose-color-${containerColor}" class="usercontext-icon choose-color-icon" data-identity-icon="circle" data-identity-color="${containerColor}">`;
};
const colors = ["blue", "turquoise", "green", "yellow", "orange", "red", "pink", "purple", "black"];
const colors = ["blue", "turquoise", "green", "yellow", "orange", "red", "pink", "purple", "toolbar"];
const colorRadioFieldset = document.getElementById("edit-container-panel-choose-color");
colors.forEach((containerColor) => {
const templateInstance = document.createElement("div");