Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. var sSelector = sSelector || ":input";
  2. var skip_uniform_class = ".no-uniform";
  3.  
  4. //setup uniform
  5. $(sSelector).not(skip_uniform_class).uniform();
  6. $($.uniform.elements).each(
  7. function(){
  8. if( $.isArray(this) ){
  9. $(this).each(
  10. function(){
  11. if( $(this).is('button') && $(this).attr('class') ){
  12. $(this).parents('div.button').eq(0).addClass( $(this).attr('class'));
  13. }
  14. }
  15. );
  16. }
  17. }
  18. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement