diff --git a/buildfiles/js/parse.js b/buildfiles/js/parse.js index a1902a4..b75f14e 100644 --- a/buildfiles/js/parse.js +++ b/buildfiles/js/parse.js @@ -9,7 +9,9 @@ $(document).ready(function () { $(this).attr("target", "_blank"); $(this).attr("href", imguri); $(this).attr("style", "border:0;"); - $(this).parent().css("background", "transparent"); + $(this).parent().parent().css("background", "transparent"); + $(this).parent().parent().css("border", "0"); + $(this).parent().parent().css("box-shadow", "none"); }); $('a[href*=".jpeg"]').each(function () { var styles = "width:100%"; @@ -21,7 +23,9 @@ $(document).ready(function () { $(this).attr("target", "_blank"); $(this).attr("href", imguri); $(this).attr("style", "border:0;"); - $(this).parent().css("background", "transparent"); + $(this).parent().parent().css("background", "transparent"); + $(this).parent().parent().css("border", "0"); + $(this).parent().parent().css("box-shadow", "none"); }); $('a[href*=".png"]').each(function () { var styles = "width:100%"; @@ -33,7 +37,9 @@ $(document).ready(function () { $(this).attr("target", "_blank"); $(this).attr("href", imguri); $(this).attr("style", "border:0;"); - $(this).parent().css("background", "transparent"); + $(this).parent().parent().css("background", "transparent"); + $(this).parent().parent().css("border", "0"); + $(this).parent().parent().css("box-shadow", "none"); }); $('li').each(function () { if (!$(this).html().includes("