refactor(web): move common TDBMS functions to tdbms.js

This commit is contained in:
2023-02-09 18:49:25 +03:00
parent a1e6f3e9e1
commit 87404e34d3
5 changed files with 91 additions and 90 deletions
+1 -9
View File
@@ -1,12 +1,4 @@
var db_name = localStorage["tfm_db_name"],
sort_files = localStorage["sort_files"],
sort_tags = localStorage["sort_tags"];
if (sort_files == null) {
sort_files = "id";
}
if (sort_tags == null) {
sort_tags = "id";
}
var db_name = localStorage["tfm_db_name"];
function settings_load() {
if (db_name != null) {