1
0
Fork 0

Fix #1746: caching of the aircraft thumbnail image

This commit is contained in:
Torsten Dreyer 2015-06-01 21:05:24 +02:00
parent 1142bde5e9
commit 9d6b1e6d58
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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);