Created
May 2, 2012 22:08
-
-
Save gamefreak/2580933 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/reddit_enhancement_suite.user.js b/lib/reddit_enhancement_suite.user.js | |
index 63409e5..dfd4e30 100644 | |
--- a/lib/reddit_enhancement_suite.user.js | |
+++ b/lib/reddit_enhancement_suite.user.js | |
@@ -8741,6 +8741,9 @@ modules['showImages'] = { | |
}); | |
} | |
+ //So the link gets colored when clicking the thumbnail | |
+ $(elem).closest('.thing').find('.thumbnail').attr('href', elem.href); | |
+ | |
//This should not be reached in the case of duplicates | |
elem.name = 'img'+this.imagesRevealed[href]; | |
this.imageList.push(elem); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment