diff options
Diffstat (limited to 'res/default.js')
-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;
|