Button should have some text
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ async function loadPacketList(data) {
|
||||
let sessions = await window.db.session.toArray().catch(function(error) {
|
||||
console.log("Error loading session", error);
|
||||
$("#database-error").text("Error loading the database, schema has probably changed and needs updating. You will probably need to delete the local database.")
|
||||
let delete_button = $("<button>").click(()=>{
|
||||
let delete_button = $("<button>Delete local database</button>").click(()=>{
|
||||
window.indexedDB.deleteDatabase("answers_database");
|
||||
location.reload();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user