Skip to content

Commit e1753e5

Browse files
committed
Align rgbByteOrderWizard to API
1 parent 80d1048 commit e1753e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets/webconfig/js/wizards/rgbByteOrderWizard.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ const rgbByteOrderWizard = (() => {
1212

1313
if (color == 'rgb(255, 0, 0)') {
1414
$("#wiz_canv_color").css('background-color', 'rgb(0, 255, 0)');
15-
requestSetColor('0', '255', '0');
15+
requestSetColor(0, 255, 0);
1616
}
1717
else {
1818
$("#wiz_canv_color").css('background-color', 'rgb(255, 0, 0)');
19-
requestSetColor('255', '0', '0');
19+
requestSetColor(255, 0, 0);
2020
}
2121
}
2222

@@ -90,7 +90,7 @@ const rgbByteOrderWizard = (() => {
9090
$("#wiz_g_select").html($("#wiz_r_select").html());
9191
$("#wiz_r_select").trigger('change');
9292

93-
requestSetColor('255', '0', '0');
93+
requestSetColor(255, 0, 0);
9494
setTimeout(requestSetSource, 100, 'auto');
9595
setStorage("wizardactive", true);
9696

0 commit comments

Comments
 (0)