diff --git a/js/ajax.js b/js/ajax.js index 9f340e90..4790b4ec 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -4,6 +4,7 @@ * * Released under the MIT license * Copyright (c) 2013 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/auto-reload.js b/js/auto-reload.js index 725b4b51..532f4d8e 100644 --- a/js/auto-reload.js +++ b/js/auto-reload.js @@ -6,6 +6,8 @@ * * Released under the MIT license * Copyright (c) 2012 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski + * Copyright (c) 2013 undido * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/catalog-link.js b/js/catalog-link.js index cc55eb52..ba53e8cf 100644 --- a/js/catalog-link.js +++ b/js/catalog-link.js @@ -1,4 +1,16 @@ -// This script puts a link to the catalog below the board subtitle, and next to the board list. +/* + * catalog-link.js - This script puts a link to the catalog below the board + * subtitle and next to the board list. + * https://github.com/vichan-devel/Tinyboard/blob/master/js/catalog-link.js + * + * Released under the MIT license + * Copyright (c) 2013 copypaste + * Copyright (c) 2013-2014 Marcin Łabanowski + * + * Usage: + * $config['additional_javascript'][] = 'js/jquery.min.js'; + * $config['additional_javascript'][] = 'js/catalog-link.js'; + */ function catalog() { var board = $("input[name='board']"); diff --git a/js/download-original.js b/js/download-original.js index 56f9a4ab..9bd8b406 100644 --- a/js/download-original.js +++ b/js/download-original.js @@ -7,6 +7,7 @@ * * Released under the MIT license * Copyright (c) 2012-2013 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/expand-all-images.js b/js/expand-all-images.js index 6cca09c8..d4c69aaa 100644 --- a/js/expand-all-images.js +++ b/js/expand-all-images.js @@ -6,6 +6,7 @@ * * Released under the MIT license * Copyright (c) 2012-2013 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/expand.js b/js/expand.js index 1d1ac337..8fd3ba29 100644 --- a/js/expand.js +++ b/js/expand.js @@ -4,6 +4,8 @@ * * Released under the MIT license * Copyright (c) 2012-2013 Michael Save + * Copyright (c) 2013 Czterooki + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/forced-anon.js b/js/forced-anon.js index 6ae43882..887a3afd 100644 --- a/js/forced-anon.js +++ b/js/forced-anon.js @@ -4,6 +4,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'; diff --git a/js/hide-images.js b/js/hide-images.js index 1e00dc47..21f3241f 100644 --- a/js/hide-images.js +++ b/js/hide-images.js @@ -6,6 +6,7 @@ * * Released under the MIT license * Copyright (c) 2013 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/inline-expanding.js b/js/inline-expanding.js index ed5a57b5..5bdb706d 100644 --- a/js/inline-expanding.js +++ b/js/inline-expanding.js @@ -4,6 +4,7 @@ * * Released under the MIT license * Copyright (c) 2012-2013 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * // $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/local-time.js b/js/local-time.js index d581e304..ee22ab04 100644 --- a/js/local-time.js +++ b/js/local-time.js @@ -4,6 +4,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'; diff --git a/js/post-hover.js b/js/post-hover.js index d96a55fc..7dcd3cbf 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -4,6 +4,8 @@ * * Released under the MIT license * Copyright (c) 2012 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski + * Copyright (c) 2013 Macil Tech * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/quick-post-controls.js b/js/quick-post-controls.js index 80c3356a..78f45dd3 100644 --- a/js/quick-post-controls.js +++ b/js/quick-post-controls.js @@ -4,6 +4,8 @@ * * Released under the MIT license * Copyright (c) 2012 Michael Save + * Copyright (c) 2013 undido + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/quick-reply-old.js b/js/quick-reply-old.js index ea504b48..8ed039cc 100644 --- a/js/quick-reply-old.js +++ b/js/quick-reply-old.js @@ -4,6 +4,8 @@ * * Released under the MIT license * Copyright (c) 2012 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski + * Copyright (c) 2013 lancee * * Usage: * $config['quick_reply'] = true; diff --git a/js/quick-reply.js b/js/quick-reply.js index 06a2660b..42d77bd0 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -4,6 +4,7 @@ * * Released under the MIT license * Copyright (c) 2013 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/settings.js b/js/settings.js index 0fb80b09..7cd35981 100644 --- a/js/settings.js +++ b/js/settings.js @@ -11,6 +11,7 @@ * * Released under the MIT license * Copyright (c) 2013 Michael Save +* Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.js'; diff --git a/js/show-backlinks.js b/js/show-backlinks.js index f23cfc38..21e8810f 100644 --- a/js/show-backlinks.js +++ b/js/show-backlinks.js @@ -4,6 +4,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'; diff --git a/js/smartphone-spoiler.js b/js/smartphone-spoiler.js index 54c7a9a1..5fce347f 100644 --- a/js/smartphone-spoiler.js +++ b/js/smartphone-spoiler.js @@ -4,6 +4,7 @@ * * Released under the MIT license * Copyright (c) 2012 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/smartphone-spoiler.js'; diff --git a/js/style-select.js b/js/style-select.js index 6dcb11e4..f0fe3c16 100644 --- a/js/style-select.js +++ b/js/style-select.js @@ -6,6 +6,7 @@ * * Released under the MIT license * Copyright (c) 2013 Michael Save + * Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['additional_javascript'][] = 'js/jquery.min.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(); } diff --git a/js/toggle-locked-threads.js b/js/toggle-locked-threads.js index 8840fe34..2ed67804 100644 --- a/js/toggle-locked-threads.js +++ b/js/toggle-locked-threads.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'; diff --git a/js/youtube.js b/js/youtube.js index 745e1519..64c943cc 100644 --- a/js/youtube.js +++ b/js/youtube.js @@ -10,6 +10,7 @@ * * Released under the MIT license * Copyright (c) 2013 Michael Save +* Copyright (c) 2013-2014 Marcin Łabanowski * * Usage: * $config['embedding'] = array();