Skip to content

Commit 716e917

Browse files
Phil ZetPhil Zet
authored andcommitted
Removed z-index from the defaults
1 parent 9ae174e commit 716e917

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

ColorPick.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
$.fn.colorPick.defaults = {
2323
'initialColor': '#3498db',
24-
'z-index': '1000',
2524
'allowRecent': true,
2625
'recentMax': 5,
2726
'palette': ["#1abc9c", "#16a085", "#2ecc71", "#27ae60", "#3498db", "#2980b9", "#9b59b6", "#8e44ad", "#34495e", "#2c3e50", "#f1c40f", "#f39c12", "#e67e22", "#d35400", "#e74c3c", "#c0392b", "#ecf0f1", "#bdc3c7", "#95a5a6", "#7f8c8d"],
@@ -81,7 +80,7 @@
8180
},
8281

8382
show: function(left, top) {
84-
$("body").append('<div id="colorPick" style="display:none;top:' + top + 'px;left:' + left + 'px;"><span>Default palette:</span></div>');
83+
$("body").append('<div id="colorPick" style="display:none;top:' + top + 'px;left:' + left + 'px"><span>Default palette:</span></div>');
8584
jQuery.each($.fn.colorPick.defaults.palette, (index, item) => {
8685
$("#colorPick").append('<div class="colorPickButton" hexValue="' + item + '" style="background:' + item + '"></div>');
8786
});

ColorPick.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)