Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
fixed a whitespace issue
Browse files Browse the repository at this point in the history
this was caused by the linter, where html contained too much whitespace
  • Loading branch information
tiptronic committed Nov 27, 2023
1 parent 210439e commit 2a13c90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/com.elgato.philips-hue.sdPlugin/pi/js/cyclePI.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ function CyclePI(inContext, inLanguage, inStreamDeckVersion, inPluginVersion) {
// Add a new color picker to document
let addColorPicker = i => {
let picker = document.createElement('div');
picker.innerHTML = getColorPicker(i);
const cphtml = getColorPicker(i).trim();
picker.innerHTML = cphtml;


if (lightCache.xy != null) {
document.querySelector('#color-input-container .sdpi-item-value').append(picker.firstChild);
Expand Down

0 comments on commit 2a13c90

Please sign in to comment.