should work properly with lite theme now..
This commit is contained in:
parent
3082266a94
commit
d6de529ca5
@ -5,9 +5,11 @@ $(function() {
|
||||
for(i=0; i<blocked_tags.length; i++) {
|
||||
var tag = blocked_tags[i];
|
||||
if(tag) {
|
||||
$(".thumb[data-tags~='"+tag+"']").hide();
|
||||
if(themecheck == "thumbblock") {
|
||||
$(".thumb[data-tags~='tagme']").parent().height(0); //required for lite theme
|
||||
$(".thumb[data-tags~='"+tag+"']").parent().hide();
|
||||
$(".thumb[data-tags~='"+tag+"']").parent().height(0); //required for lite theme
|
||||
}else{
|
||||
$(".thumb[data-tags~='"+tag+"']").hide();
|
||||
}
|
||||
needs_refresh = true;
|
||||
}
|
||||
@ -16,8 +18,13 @@ $(function() {
|
||||
// text-align: justify with element margins and doesn't recalculate
|
||||
// these margins when part of the line disappears...
|
||||
if(needs_refresh) {
|
||||
$('#image-list').hide();
|
||||
$('#image-list').show();
|
||||
if(themecheck == "thumbblock") {
|
||||
$('.blockbody').hide();
|
||||
$('.blockbody').show();
|
||||
}else{
|
||||
$('#image-list').hide();
|
||||
$('#image-list').show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user