This commit is contained in:
jokob-sk
2025-03-22 10:33:02 +11:00

View File

@@ -48,7 +48,7 @@ require 'php/templates/header.php';
<script> <script>
function fetchData(callback) { function fetchData(callback) {
$.get('/php/server/query_json.php', { file: 'user_notifications.json', nocache: Date.now() }) $.get('php/server/query_json.php', { file: 'user_notifications.json', nocache: Date.now() })
.done(function(response) { .done(function(response) {
if (response == "[]" || response == "") { if (response == "[]" || response == "") {
callback([]); callback([]);