This repository has been archived on 2024-06-20. You can view files and clone it, but cannot push or open issues or pull requests.
PasswordCards/resources/js/index.js

23 lines
582 B
JavaScript
Raw Normal View History

2015-03-16 15:36:07 +01:00
(function($) {
$('#advancedOptionsLabel').click(function() {
$('#showMoreOptions').toggle();
$('#hideMoreOptions').toggle();
$('#advancedOptions').slideToggle();
});
$('#with-other').click(function() {
$('#other-chars').parent().slideToggle();
});
$("#primary").tinycolorpicker();
var picker = $('#primary').data("plugin_tinycolorpicker");
picker.setColor("#1ABC9C");
$("#secondary").tinycolorpicker();
var picker = $('#secondary').data("plugin_tinycolorpicker");
picker.setColor("#ffffff");
})(jQuery);