Skip to content

Commit dbdae88

Browse files
committed
spectrum 1.7.1
1 parent 46e6aa9 commit dbdae88

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

spectrum_1.7.0/LICENSE.htm

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

spectrum_1.7.1/LICENSE.htm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p>spectrum is licened under the <a href="https://github.com/bgrins/spectrum/1.7.1/LICENSE">MIT License</a>.</p>

spectrum_1.7.0/spectrum.css renamed to spectrum_1.7.1/spectrum.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/***
2-
Spectrum Colorpicker v1.7.0
2+
Spectrum Colorpicker v1.7.1
33
https://github.com/bgrins/spectrum
44
Author: Brian Grinstead
55
License: MIT

spectrum_1.7.0/spectrum.dnn renamed to spectrum_1.7.1/spectrum.dnn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<dotnetnuke type="Package" version="5.0">
22
<packages>
3-
<package name="spectrum" type="JavaScript_Library" version="1.7.0">
3+
<package name="spectrum" type="JavaScript_Library" version="1.7.1">
44
<friendlyName>Spectrum</friendlyName>
55
<description>The No Hassle JavaScript Colorpicker</description>
66
<owner>
@@ -21,7 +21,7 @@
2121
<libraryName>spectrum</libraryName>
2222
<fileName>spectrum.js</fileName>
2323
<preferredScriptLocation>BodyBottom</preferredScriptLocation>
24-
<CDNPath>https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.7.0/spectrum.min.js</CDNPath>
24+
<CDNPath>https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.7.1/spectrum.min.js</CDNPath>
2525
<objectName>jQuery.fn.spectrum</objectName>
2626
</javaScriptLibrary>
2727
</component>

spectrum_1.7.0/spectrum.js renamed to spectrum_1.7.1/spectrum.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Spectrum Colorpicker v1.7.0
1+
// Spectrum Colorpicker v1.7.1
22
// https://github.com/bgrins/spectrum
33
// Author: Brian Grinstead
44
// License: MIT
@@ -1184,8 +1184,8 @@
11841184
$.fn.spectrum.defaults = defaultOpts;
11851185
$.fn.spectrum.inputTypeColorSupport = function inputTypeColorSupport() {
11861186
if (typeof inputTypeColorSupport._cachedResult === "undefined") {
1187-
var colorInput = $("<input type='color' value='!' />")[0];
1188-
inputTypeColorSupport._cachedResult = colorInput.type === "color" && colorInput.value !== "!";
1187+
var colorInput = $("<input type='color'/>")[0]; // if color element is supported, value will default to not null
1188+
inputTypeColorSupport._cachedResult = colorInput.type === "color" && colorInput.value !== "";
11891189
}
11901190
return inputTypeColorSupport._cachedResult;
11911191
};

0 commit comments

Comments
 (0)