Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…r-Picker into chahu-master
  • Loading branch information
josedvq committed Sep 18, 2017
2 parents c63b934 + 3a58276 commit c349840
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/colpick.js
Expand Up @@ -462,6 +462,9 @@ For usage and examples: colpick.com/plugin
}
});
}
},
destroy: function(col, setCurrent) {
$('#' + $(this).data('colpickId')).remove();
}
};
}();
Expand Down Expand Up @@ -533,7 +536,8 @@ For usage and examples: colpick.com/plugin
colpick: colpick.init,
colpickHide: colpick.hidePicker,
colpickShow: colpick.showPicker,
colpickSetColor: colpick.setColor
colpickSetColor: colpick.setColor,
colpickDestroy: colpick.destroy
});
$.extend({
colpick:{
Expand Down

0 comments on commit c349840

Please sign in to comment.