Skip to content

Commit 0c07631

Browse files
authored
Merge pull request #41 from 32felix/patch-1
correct mistake in palette
2 parents 817fce1 + a2eb9cb commit 0c07631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/js/spectrum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
c += (tinycolor.equals(color, current)) ? " sp-thumb-active" : "";
141141
var formattedString = tiny.toString(opts.preferredFormat || "rgb");
142142
var swatchStyle = rgbaSupport ? ("background-color:" + tiny.toRgbString()) : "filter:" + tiny.toFilter();
143-
html.push('<span title="' + formattedString + '" data-color="' + tiny.toRgbString() + '" class="' + c + '"><span class="sp-thumb-inner" style="' + swatchStyle + ';" /></span>');
143+
html.push('<span title="' + formattedString + '" data-color="' + tiny.toRgbString() + '" class="' + c + '"><span class="sp-thumb-inner" style="' + swatchStyle + ';" /></span></span>');
144144
} else {
145145
var cls = 'sp-clear-display';
146146
html.push($('<div />')

0 commit comments

Comments
 (0)