first commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
/* ------------------------------------------------------------------------------
|
||||
*
|
||||
* # Dropdown menus
|
||||
*
|
||||
* Specific JS code additions for components_dropdowns.html page
|
||||
*
|
||||
* Version: 1.0
|
||||
* Latest update: Aug 1, 2015
|
||||
*
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
$(function() {
|
||||
|
||||
// Styled checkboxes/radios
|
||||
$('.styled').uniform({
|
||||
radioClass: 'choice'
|
||||
});
|
||||
|
||||
|
||||
// Switchery toggles
|
||||
var toggle = Array.prototype.slice.call(document.querySelectorAll('.switchery'));
|
||||
|
||||
toggle.forEach(function(html) {
|
||||
var switchery = new Switchery(html);
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user