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++) {
|
for(i=0; i<blocked_tags.length; i++) {
|
||||||
var tag = blocked_tags[i];
|
var tag = blocked_tags[i];
|
||||||
if(tag) {
|
if(tag) {
|
||||||
$(".thumb[data-tags~='"+tag+"']").hide();
|
|
||||||
if(themecheck == "thumbblock") {
|
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;
|
needs_refresh = true;
|
||||||
}
|
}
|
||||||
@ -16,9 +18,14 @@ $(function() {
|
|||||||
// text-align: justify with element margins and doesn't recalculate
|
// text-align: justify with element margins and doesn't recalculate
|
||||||
// these margins when part of the line disappears...
|
// these margins when part of the line disappears...
|
||||||
if(needs_refresh) {
|
if(needs_refresh) {
|
||||||
|
if(themecheck == "thumbblock") {
|
||||||
|
$('.blockbody').hide();
|
||||||
|
$('.blockbody').show();
|
||||||
|
}else{
|
||||||
$('#image-list').hide();
|
$('#image-list').hide();
|
||||||
$('#image-list').show();
|
$('#image-list').show();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function select_blocked_tags() {
|
function select_blocked_tags() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user