Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var sSelector = sSelector || ":input";
- var skip_uniform_class = ".no-uniform";
- //setup uniform
- $(sSelector).not(skip_uniform_class).uniform();
- $($.uniform.elements).each(
- function(){
- if( $.isArray(this) ){
- $(this).each(
- function(){
- if( $(this).is('button') && $(this).attr('class') ){
- $(this).parents('div.button').eq(0).addClass( $(this).attr('class'));
- }
- }
- );
- }
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement