Update UI JS Libraries (#1441)

* Update Gijgo to 1.9.13

* Update DOMPurify 2.3.6

* Update Marked 4.0.12

* Update metismenu 3.0.7

* Issue Update Priority, if first LED changes for COLOR update (to reflect color correctly in UI)

* Add Yeelight W3 MultiColor

* Update to jquery 3.6.0
This commit is contained in:
LordGrey
2022-03-13 16:38:28 +01:00
committed by GitHub
parent f9a5772aa5
commit 3e8c6f3b25
43 changed files with 12026 additions and 498 deletions

View File

@@ -85,7 +85,7 @@ $(document).ready(function () {
updateHyperionInstanceListing();
$('#instanceButton').bootstrapToggle();
$('#instanceButton').change(e => {
$('#instanceButton').on("change", e => {
requestSetComponentState('ALL', e.currentTarget.checked);
});
@@ -93,7 +93,7 @@ $(document).ready(function () {
if (components[idx].name != "ALL") {
$("#general_comp_" + components[idx].name).bootstrapToggle();
$("#general_comp_" + components[idx].name).bootstrapToggle(hyperion_enabled ? "enable" : "disable");
$("#general_comp_" + components[idx].name).change(e => {
$("#general_comp_" + components[idx].name).on("change", e => {
requestSetComponentState(e.currentTarget.id.split('_')[2], e.currentTarget.checked);
});
}