Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8515b51c7 | ||
|
|
16bbd58580 | ||
|
|
e52ee72b92 | ||
|
|
0a93c8c006 | ||
|
|
8d1d3d62d7 | ||
|
|
e5e36e03fd | ||
|
|
aeac202a3c | ||
|
|
0863b4e311 | ||
|
|
525777107b | ||
|
|
6902b1f8ea |
@@ -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
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user