Compare commits

...
10 Commits
Author SHA1 Message Date
Ross c8515b51c7 . 2022-12-16 18:36:30 +00:00
Ross 16bbd58580 . 2022-12-16 18:34:56 +00:00
Ross e52ee72b92 . 2022-12-16 18:31:57 +00:00
Ross 0a93c8c006 . 2022-12-16 18:28:52 +00:00
Ross 8d1d3d62d7 . 2022-12-16 18:28:12 +00:00
Ross e5e36e03fd . 2022-12-16 18:28:06 +00:00
Ross aeac202a3c . 2022-12-16 18:25:53 +00:00
Ross 0863b4e311 . 2022-12-16 18:22:26 +00:00
Ross 525777107b . 2022-12-16 18:15:12 +00:00
Ross 6902b1f8ea . 2022-12-16 18:14:37 +00:00
2 changed files with 9 additions and 1 deletions
+2
View File
@@ -228,6 +228,8 @@
<script src="js/main.js" defer="defer" type="module"></script>
<script src="lib/notify.min.js" type="text/javascript"></script>
<script>
</script>
</body>
</html>
+7 -1
View File
@@ -87,7 +87,12 @@ user_db.version(1).stores({
retrievePacketList();
try {
refreshDatabaseSettings();
}
catch {
console.log("unable to check database settings")
}
/**
* Retrieves a list of available packets via JSON ajax requests
@@ -2453,6 +2458,7 @@ function showLoginDialog() {
$("#login-dialog").modal();
}
$("#btn-candidate-login").click(function(evt) {
$("#login-dialog").modal({
escapeClose: false,
@@ -2746,7 +2752,7 @@ function saveSession(start_review) {
}
function refreshDatabaseSettings() {
if (navigator.storage != undefined) {
if ("storage" in navigator && navigator.storage != undefined) {
navigator.storage.estimate().then((value) => {
$("#storage-details").empty();
$("#storage-details").append(