fix hide-threads.js & no-animated-gif.js interaction

This commit is contained in:
czaks 2014-08-10 22:54:47 +02:00
parent 1a1d44aadf
commit 4d7933deb8
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ function unanimate_gif(e) {
draw_image();
}
$(e).hide();
$(e).addClass("unanimated").hide();
}
function no_animated_gif() {
@ -37,7 +37,7 @@ function no_animated_gif() {
function animated_gif() {
$('canvas.post-image').remove();
$('img.post-image').show();
$('img.post-image').removeClass("unanimated").show();
localStorage.no_animated_gif = false;
$('#no-animated-gif>a').text(_('Unanimate GIFs'));