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 9bcb6be commit f3d2729
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildfiles/js/parse.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$(document).ready(function () {
$('a[href*=".jpg"]').each(function () {
var styles = "width:100%;";
if ($(this).html().includes("_right")) {
if ($(this).html().includes("_right") && !navigator.userAgentData.mobile) {
styles = "float:right;padding:5px;";
}
var imguri = $(this).attr("href");
Expand All @@ -13,7 +13,7 @@ $(document).ready(function () {
});
$('a[href*=".jpeg"]').each(function () {
var styles = "width:100%";
if ($(this).html().includes("_right")) {
if ($(this).html().includes("_right") && !navigator.userAgentData.mobile) {
styles = "float:right;padding:5px;";
}
var imguri = $(this).attr("href");
Expand All @@ -25,7 +25,7 @@ $(document).ready(function () {
});
$('a[href*=".png"]').each(function () {
var styles = "width:100%";
if ($(this).html().includes("_right")) {
if ($(this).html().includes("_right") && !navigator.userAgentData.mobile) {
styles = "float:right;padding:5px;";
}
var imguri = $(this).attr("href");
Expand Down

0 comments on commit f3d2729

Please # to comment.