diff options
author | FivePixels <o5pxels@gmail.com> | 2018-03-22 22:14:20 -0500 |
---|---|---|
committer | FivePixels <o5pxels@gmail.com> | 2018-03-22 22:14:20 -0500 |
commit | 4ece9846b02d5dfe287504ac2c63022cfb033f58 (patch) | |
tree | 4039d12481c74358dbd19bd5d6a12dd3a6ca7d55 /cydia/depictions/index.html | |
parent | fa3270554ddcae99c0c1c3b59d1f6c055f608aad (diff) | |
download | personal-website-4ece9846b02d5dfe287504ac2c63022cfb033f58.tar.xz personal-website-4ece9846b02d5dfe287504ac2c63022cfb033f58.zip |
fixed some shiz
Diffstat (limited to 'cydia/depictions/index.html')
-rwxr-xr-x | cydia/depictions/index.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cydia/depictions/index.html b/cydia/depictions/index.html index 9c4060f..07b41d1 100755 --- a/cydia/depictions/index.html +++ b/cydia/depictions/index.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en"> <head> - <title>FivePixels Cydia Repository</title> + <title>Cydia Tweak</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="/repo/CydiaIcon.png"> @@ -105,6 +105,13 @@ var infolinks_wsid = 1; <script> $(document).ready(function() { + var dPackage = getParameterByName("p"); + if (!dPackage) { + $(".package-error").text("This package doesn't seem to exist!").css("display", "block"); + $(".package-info").css("display", "none"); + $(".package-name").text("Not Found"); + return; + } $.getJSON("packages/" + dPackage + ".json", function(data) { document.title = data.name + " by " + data.author; |