Skip to content

Commit 79ec3ca

Browse files
committed
Fixes panel not showing with jQuery Slim
fixes #267
1 parent f5b0ab6 commit 79ec3ca

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)