diff --git a/logic/main.js b/logic/main.js index 1723907..e30dd88 100644 --- a/logic/main.js +++ b/logic/main.js @@ -11,6 +11,7 @@ function Main() // SETTINGS this.useMasonry = true; this.postPerPage = 1000; + this.divNamePre = 'item'; // MAIN this.install = function() @@ -124,6 +125,8 @@ function Main() this.database[dbKeys[i]].TAGS = tags; } + + this.database[dbKeys[i]].DIID = i; } console.log(this.database); } @@ -168,7 +171,8 @@ function Main() this.buildEntry = function(db, key) { let value = db[key]; - let entry = `