mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 09:44:28 +01:00
customize javascripts to run on catalog
This commit is contained in:
parent
a231c89983
commit
682ebd64ca
@ -14,6 +14,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
if (active_page == 'ukko' || active_page == 'thread' || active_page == 'index')
|
||||
onready(function(){
|
||||
$('hr:first').before('<div id="expand-all-images" style="text-align:right"><a class="unimportant" href="javascript:void(0)"></a></div>');
|
||||
$('div#expand-all-images a')
|
||||
|
@ -11,6 +11,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
if (active_page == 'ukko' || active_page == 'thread' || active_page == 'index')
|
||||
$(document).ready(function() {
|
||||
var force_anon = function() {
|
||||
if($(this).children('a.capcode').length == 0) {
|
||||
|
@ -71,7 +71,7 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
if (hide_images) {
|
||||
$('img.post-image').each(hideImage);
|
||||
$('img.post-image, .catalog-theme .thread img').each(hideImage);
|
||||
show_hide_hide_images_buttons();
|
||||
}
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
if (active_page == 'ukko' || active_page == 'index')
|
||||
$(document).ready(function(){
|
||||
if($('div.banner').length != 0)
|
||||
return; // not index
|
||||
|
Loading…
Reference in New Issue
Block a user