Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
koyuawsmbrtn committed May 28, 2024
1 parent f3d2729 commit 53309a8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions buildfiles/js/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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%";
Expand All @@ -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%";
Expand All @@ -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("<a")) {
Expand Down

0 comments on commit 53309a8

Please # to comment.