mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
* Toggle-Buttons for Component Remote Control (#677) * Update remote.js * Handle Component Updates individually * Avoid unnecessary updates Co-authored-by: brindosch <edeltraud70@gmx.de>
This commit is contained in:
@@ -221,7 +221,7 @@ $(document).ready(function () {
|
||||
}
|
||||
});
|
||||
// notify the update
|
||||
$(window.hyperion).trigger("components-updated");
|
||||
$(window.hyperion).trigger("components-updated", event.response.data);
|
||||
});
|
||||
|
||||
$(window.hyperion).on("cmd-instance-update", function (event) {
|
||||
@@ -307,4 +307,4 @@ $("#btn_darkmode").off().on("click",function(e){
|
||||
location.reload();
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user