diff options
| author | czaks <marcin@6irc.net> | 2014-08-10 22:54:47 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-08-10 22:54:47 +0200 |
| commit | 4d7933deb8516a96690cd42f0780dbaca2ab7bb7 (patch) | |
| tree | d17a8e44cc25a53341c3499f5e6230235c70e1c0 /js/no-animated-gif.js | |
| parent | 1a1d44aadfdab2cc0ee3f74bae96090b9fd09e5f (diff) | |
fix hide-threads.js & no-animated-gif.js interaction
Diffstat (limited to 'js/no-animated-gif.js')
| -rw-r--r-- | js/no-animated-gif.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/no-animated-gif.js b/js/no-animated-gif.js index 36d48954..5d21704f 100644 --- a/js/no-animated-gif.js +++ b/js/no-animated-gif.js @@ -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')); |
