changeset 40:12eabc73a441

Less strict selector.
author nanaya <me@myconan.net>
date Sun, 24 May 2015 17:19:40 +0900
parents 79d3478c33a3
children e122e4e55e75
files index.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Fri May 22 20:26:06 2015 +0900
+++ b/index.php	Sun May 24 17:19:40 2015 +0900
@@ -1,5 +1,5 @@
 <?php
-  define('DL_VERSION', '2.0.1');
+  define('DL_VERSION', '2.0.2');
   // Required for strftime(). Set to UTC because :internet:.
   date_default_timezone_set('UTC');
 
@@ -202,7 +202,7 @@
 
   <script>
     $(document).ready(function() {
-      $("table > tbody > tr > td > a").each(function() {
+      $("table td a").each(function() {
         if (!this.href.match(/\.(jpe?g|png|gif|webp)$/i)) return
         this.className = "image"
         this.setAttribute("title", this.innerHTML)