pass modified to covers to avoid caching
This commit is contained in:
parent
6bdd789b26
commit
557f4d3ea9
4 changed files with 9 additions and 8 deletions
|
|
@ -30,13 +30,13 @@ oml.ui.info = function() {
|
|||
id: id,
|
||||
keys: [
|
||||
'author', 'coverRatio',
|
||||
'description', 'title'
|
||||
'description', 'modified', 'title'
|
||||
]
|
||||
}, function(result) {
|
||||
var data = result.data;
|
||||
that.empty();
|
||||
$('<img>')
|
||||
.attr({src: '/' + id + '/cover128.jpg'})
|
||||
.attr({src: '/' + id + '/cover128.jpg?' + data.modified})
|
||||
.css({margin: '16px 0 8px 0'})
|
||||
.appendTo(that);
|
||||
$('<div>')
|
||||
|
|
@ -69,4 +69,4 @@ oml.ui.info = function() {
|
|||
|
||||
return that.updateElement();
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue