Button should have some text

This commit is contained in:
Ross
2020-06-14 10:28:36 +01:00
parent 7e903515f7
commit cd96fbac54
+1 -1
View File
@@ -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();
})