File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ < p > spectrum is licened under the < a href ="https://github.com/bgrins/spectrum/1.7.1/LICENSE "> MIT License</ a > .</ p >
Original file line number Diff line number Diff line change 1
1
/***
2
- Spectrum Colorpicker v1.7.0
2
+ Spectrum Colorpicker v1.7.1
3
3
https://github.com/bgrins/spectrum
4
4
Author: Brian Grinstead
5
5
License: MIT
Original file line number Diff line number Diff line change 1
1
<dotnetnuke type="Package" version="5.0">
2
2
<packages>
3
- <package name="spectrum" type="JavaScript_Library" version="1.7.0 ">
3
+ <package name="spectrum" type="JavaScript_Library" version="1.7.1 ">
4
4
<friendlyName>Spectrum</friendlyName>
5
5
<description>The No Hassle JavaScript Colorpicker</description>
6
6
<owner>
21
21
<libraryName>spectrum</libraryName>
22
22
<fileName>spectrum.js</fileName>
23
23
<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>
25
25
<objectName>jQuery.fn.spectrum</objectName>
26
26
</javaScriptLibrary>
27
27
</component>
Original file line number Diff line number Diff line change 1
- // Spectrum Colorpicker v1.7.0
1
+ // Spectrum Colorpicker v1.7.1
2
2
// https://github.com/bgrins/spectrum
3
3
// Author: Brian Grinstead
4
4
// License: MIT
1184
1184
$ . fn . spectrum . defaults = defaultOpts ;
1185
1185
$ . fn . spectrum . inputTypeColorSupport = function inputTypeColorSupport ( ) {
1186
1186
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 !== "" ;
1189
1189
}
1190
1190
return inputTypeColorSupport . _cachedResult ;
1191
1191
} ;
You can’t perform that action at this time.
0 commit comments