Skip to content

Commit 8dbc861

Browse files
committed
♻️ Stick to ES5 for now & prettier fixes
1 parent 5b50682 commit 8dbc861

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

octoprint_ws281x_led_status/static/js/ws281x_led_status.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright (c) Charlie Powell 2020-2021 - released under the terms of the AGPLv3 License
55
*/
66

7-
const ko = window.ko;
7+
let ko = window.ko;
88

99
$(function () {
1010
function ws281xLedStatusNavbarViewModel(parameters) {
@@ -155,7 +155,9 @@ $(function () {
155155
};
156156

157157
self.sendTestCommand = function (color) {
158-
OctoPrint.simpleApiCommand("ws281x_led_status", "test_led", { color } );
158+
OctoPrint.simpleApiCommand("ws281x_led_status", "test_led", {
159+
color,
160+
});
159161
};
160162

161163
self.advancedStripOpen = ko.observable(false);

0 commit comments

Comments
 (0)