hide thumbnails with given tags
This commit is contained in:
parent
da786ee3c1
commit
2226bc9f15
10
ext/index/script.js
Normal file
10
ext/index/script.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
$(function() {
|
||||||
|
var blocked_tags = ($.cookie("blocked-tags") || "").split(" ");
|
||||||
|
for(i in blocked_tags) {
|
||||||
|
var tag = blocked_tags[i];
|
||||||
|
if(tag) $(".thumb[data-tags~='"+tag+"']").hide();
|
||||||
|
}
|
||||||
|
// FIXME: need to trigger a reflow in opera, because opera implements
|
||||||
|
// text-align: justify with element margins and doesn't recalculate
|
||||||
|
// these margins when part of the line disappears...
|
||||||
|
});
|
Loading…
x
Reference in New Issue
Block a user