We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b50682 commit 8dbc861Copy full SHA for 8dbc861
octoprint_ws281x_led_status/static/js/ws281x_led_status.js
@@ -4,7 +4,7 @@
4
* Copyright (c) Charlie Powell 2020-2021 - released under the terms of the AGPLv3 License
5
*/
6
7
-const ko = window.ko;
+let ko = window.ko;
8
9
$(function () {
10
function ws281xLedStatusNavbarViewModel(parameters) {
@@ -155,7 +155,9 @@ $(function () {
155
};
156
157
self.sendTestCommand = function (color) {
158
- OctoPrint.simpleApiCommand("ws281x_led_status", "test_led", { color } );
+ OctoPrint.simpleApiCommand("ws281x_led_status", "test_led", {
159
+ color,
160
+ });
161
162
163
self.advancedStripOpen = ko.observable(false);
0 commit comments