diff options
Diffstat (limited to 'static/js/kosten.js')
-rw-r--r-- | static/js/kosten.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/static/js/kosten.js b/static/js/kosten.js index 4600a24..ccb3d6a 100644 --- a/static/js/kosten.js +++ b/static/js/kosten.js @@ -100,11 +100,12 @@ setLang(); month = 30 * 24 * 60 * 60 * 1000; constDialog = function(){ - var df; + var df, time; df = Highcharts.dateFormat; - $.get(df('/stats/_const/%Y/%d', this.x), function(data){ + time = this.x; + $.get(df('/stats/_const/%Y/%d', time), function(data){ $(data).dialog({ - title: df('%B %Y', this.x) + title: df('%B %Y', time) }); }); }; |