From c043c424454fce071e4ed7841f26c427cecf19ff Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 19 Jan 2014 14:27:24 +0100 Subject: add copyright notices for javascripts based on commit history Conflicts: js/auto-reload.js js/toggle-images.js --- js/toggle-images.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'js/toggle-images.js') diff --git a/js/toggle-images.js b/js/toggle-images.js index 9927031a..554aa111 100644 --- a/js/toggle-images.js +++ b/js/toggle-images.js @@ -3,6 +3,7 @@ * * Released under the MIT license * Copyright (c) 2012 Michael Save + * Copyright (c) 2013-2014 Marcin Ɓabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; @@ -58,10 +59,10 @@ $(document).ready(function(){ .click(function() { hide_images = !hide_images; if (hide_images) { - $('img.post-image').each(hideImage); + $('img.post-image, .theme-catalog .thread>a>img').each(hideImage); localStorage.hideimages = true; } else { - $('img.post-image').each(restoreImage); + $('img.post-image, .theme-catalog .thread>a>img').each(restoreImage); delete localStorage.hideimages; } @@ -71,7 +72,7 @@ $(document).ready(function(){ }); if (hide_images) { - $('img.post-image').each(hideImage); + $('img.post-image, .theme-catalog .thread>a>img').each(hideImage); show_hide_hide_images_buttons(); } -- cgit v1.3