Shortened GIF guard
This commit is contained in:
parent
0aad36228a
commit
2e06422b62
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<%
|
<%
|
||||||
var postContentUrl = '/data/posts/' + post.name + '?x=' + Math.random() /* reset gif animations */
|
var postContentUrl = '/data/posts/' + post.name + '?' + Math.round(Math.random() * 1000) /* reset gif animations */
|
||||||
var width;
|
var width;
|
||||||
var height;
|
var height;
|
||||||
if (post.contentType === 'image' || post.contentType === 'flash') {
|
if (post.contentType === 'image' || post.contentType === 'flash') {
|
||||||
|
|
Loading…
Reference in a new issue