# HG changeset patch # User nanaya # Date 1432455580 -32400 # Node ID 12eabc73a44187b92a727d7b0baf88101457bef9 # Parent 79d3478c33a39c05f1a5f92fa9c73f16558f9002 Less strict selector. diff -r 79d3478c33a3 -r 12eabc73a441 index.php --- 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 @@ $(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)