Fix #1746: caching of the aircraft thumbnail image
This commit is contained in:
parent
1142bde5e9
commit
9d6b1e6d58
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
<div class="tabs vtabs">
|
||||
<img src="/aircraft-dir/thumbnail.jpg" style="width: 100%; border-radius: 10px; box-shadow: 0px 7px 9px #666666;">
|
||||
<img data-bind="attr: { src: thumbnailUrl }" style="width: 100%; border-radius: 10px; box-shadow: 0px 7px 9px #666666;">
|
||||
|
||||
<ul data-bind="foreach: topics">
|
||||
<li
|
||||
|
|
|
@ -27,6 +27,8 @@ define([
|
|||
|
||||
self.config = ko.observable({});
|
||||
|
||||
self.thumbnailUrl = "/aircraft-dir/thumbnail.jpg?N=" + Date.now();
|
||||
|
||||
jquery.get('/aircraft-dir/Phi/config.json', null, function(config) {
|
||||
self.config(config);
|
||||
|
||||
|
|
Loading…
Reference in a new issue