diff options
author | Roman Gräf <roman.graef@gmail.com> | 2017-11-02 08:41:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-02 08:41:42 +0100 |
commit | 5a76ef73228dbe7bd3391657dd6c1bb5ec73b2c5 (patch) | |
tree | f59a555d4473f0a8e476aaacba241dd7932709f1 /res | |
parent | 95c7100932d5f97c6a1089528ed44b014bd2f8ce (diff) | |
download | ichtml-5a76ef73228dbe7bd3391657dd6c1bb5ec73b2c5.tar.gz ichtml-5a76ef73228dbe7bd3391657dd6c1bb5ec73b2c5.tar.bz2 ichtml-5a76ef73228dbe7bd3391657dd6c1bb5ec73b2c5.zip |
Update default.js
Diffstat (limited to 'res')
-rw-r--r-- | res/default.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/default.js b/res/default.js index d1c00aa..b5fd7cb 100644 --- a/res/default.js +++ b/res/default.js @@ -27,7 +27,9 @@ function load(id){ }
function onload() {
- $.getJSON("content/content.json", function(data){
+ $.getJSON({cache: false,url:"content/content.json"})
+
+ .then(function(data){
var el = $("#sidebar")[0];
data.forEach((item)=>{
var load = item.load;
|