customize javascripts to run on catalog
This commit is contained in:
parent
2382603b4d
commit
a4d3aedab8
@ -14,6 +14,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (active_page == 'ukko' || active_page == 'thread' || active_page == 'index')
|
||||||
onready(function(){
|
onready(function(){
|
||||||
$('hr:first').before('<div id="expand-all-images" style="text-align:right"><a class="unimportant" href="javascript:void(0)"></a></div>');
|
$('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')
|
$('div#expand-all-images a')
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (active_page == 'ukko' || active_page == 'thread' || active_page == 'index')
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var force_anon = function() {
|
var force_anon = function() {
|
||||||
if($(this).children('a.capcode').length == 0) {
|
if($(this).children('a.capcode').length == 0) {
|
||||||
|
@ -71,7 +71,7 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (hide_images) {
|
if (hide_images) {
|
||||||
$('img.post-image').each(hideImage);
|
$('img.post-image, .catalog-theme .thread img').each(hideImage);
|
||||||
show_hide_hide_images_buttons();
|
show_hide_hide_images_buttons();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (active_page == 'ukko' || active_page == 'index')
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
if($('div.banner').length != 0)
|
if($('div.banner').length != 0)
|
||||||
return; // not index
|
return; // not index
|
||||||
|
Loading…
Reference in New Issue
Block a user