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
Raphael Zimmermann f9c8b6f016 Initial commit
2015-03-16 15:36:07 +01:00

22 lines
582 B
JavaScript

(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);