Skip to content

Commit a6e5b49

Browse files
authored
Merge pull request #268 from Salesflare/master
Fixes panel not showing with jQuery Slim
2 parents f5b0ab6 + 79ec3ca commit a6e5b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.minicolors.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
if (settings.show) settings.show.call(input.get(0));
286286
});
287287
} else {
288-
panel.css('opacity', 1);
288+
panel.show();
289289
if (settings.show) settings.show.call(input.get(0));
290290
}
291291
}
@@ -304,7 +304,7 @@
304304
minicolors.removeClass('minicolors-focus');
305305
});
306306
} else {
307-
panel.css('opacity', 0);
307+
panel.hide();
308308
if (settings.hide) settings.hide.call(input.get(0));
309309
minicolors.removeClass('minicolors-focus');
310310
}

0 commit comments

Comments
 (0)