Skip to content

Commit 674594d

Browse files
committed
IE 11 issue fixed
1 parent 4577027 commit 674594d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/colorPick.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@
129129
$("#colorPick").remove();
130130

131131
$("body").append('<div id="colorPick" style="display:none;top:' + top + 'px;left:' + left + 'px"><span>'+$.fn.colorPick.defaults.paletteLabel+'</span></div>');
132-
jQuery.each(this.palette, (index, item) => {
133-
$("#colorPick").append('<div class="colorPickButton" hexValue="' + item + '" style="background:' + item + '"></div>');
132+
jQuery.each(this.palette, function (index, item) {
133+
$("#colorPick").append('<div class="colorPickButton" hexValue="' + item + '" style="background:' + item + '"></div>');
134134
});
135-
if ($.fn.colorPick.defaults.allowCustomColor === true) {
135+
if ($.fn.colorPick.defaults.allowCustomColor === true) {
136136
$("#colorPick").append('<input type="text" style="margin-top:5px" class="customColorHash" />');
137137
}
138138
if ($.fn.colorPick.defaults.allowRecent === true) {

src/colorPick.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)