more tags, more opera glitch workarounds

This commit is contained in:
Shish
2012-08-15 21:19:51 +01:00
parent 887c746e35
commit 5022d2b965
3 changed files with 13 additions and 5 deletions

View File

@ -12,14 +12,16 @@ $(function() {
// text-align: justify with element margins and doesn't recalculate
// these margins when part of the line disappears...
if(needs_refresh) {
$('.shm-image-list').hide();
$('.shm-image-list').show();
$('.shm-image-list').hide(
0,
function() {$('.shm-image-list').show();}
);
}
});
function select_blocked_tags() {
var blocked_tags = prompt("Enter tags to ignore", $.cookie("ui-blocked-tags") || "My_Little_Pony");
if(blocked_tags) {
if(blocked_tags !== null) {
$.cookie("ui-blocked-tags", blocked_tags.toLowerCase(), {path: '/', expires: 365});
location.reload(true);
}