Guest User

zippy-entry-available

a guest
Jan 13th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. jQuery( document ).ready( function( $ ) {
  2.  
  3. $(document).ready(function(){
  4. var $x = $(".zippy-entry .col-sm-12");
  5.  
  6. if($x) {
  7. var $x_has_z_available = $x.find(".zippy-entry-available");
  8. }
  9.  
  10. $x_has_z_available.closest(".zippy-entry.zippy-item.zippy-lesson").addClass("zippy-entry-available");
  11. });
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment