Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function()
- {
- $(".people-search .picturePlaceholder").each(function()
- {
- var $this = $(this);
- var img = new Image();
- img.src = $this.css('background-image').replace(/url\(|\"|\'|\)$/ig, '');
- if(img.width >0)
- {
- $this.css("background-color","#fff");
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement