Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. $(function()
  2. {
  3. $(".people-search .picturePlaceholder").each(function()
  4. {
  5. var $this = $(this);
  6. var img = new Image();
  7. img.src = $this.css('background-image').replace(/url\(|\"|\'|\)$/ig, '');
  8. if(img.width >0)
  9. {
  10. $this.css("background-color","#fff");
  11. }
  12. });
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement