Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //borders and lp bar
- if($('#avatar1').find("img[src='" + "https://images.duelingbook.com/low-res/2319.jpg" + "']").length){
- if ($('#avatar1').find("img[src='" + "https://images.duelingbook.com/low-res/2319.jpg" + "']").length) {
- $("#avatar1").css("background", "linear-gradient(360deg, #ffb694, #ffffff)");
- $("#lifepoints1").find(".life_bar").css("background", "linear-gradient(360deg, #ffb694, #ffffff)");
- }
- } else {
- avatar.removeAttribute("style");
- lp.querySelector('.life_bar').removeAttribute("style");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement