This commit is contained in:
David Back 2018-06-22 18:15:16 -07:00
parent 09ccd3acf0
commit 39b3e5a711

View file

@ -269,9 +269,9 @@ For usage and examples: colpick.com/plugin
}, },
// Show/hide the color picker // Show/hide the color picker
show = function (ev) { show = function (ev) {
if ($(this).attr('disabled')) { if ($(this).attr('disabled')) {
return; return;
} }
// Prevent the trigger of any direct parent // Prevent the trigger of any direct parent
ev.stopPropagation(); ev.stopPropagation();
var cal = $('#' + $(this).data('colpickId')); var cal = $('#' + $(this).data('colpickId'));