From 77c341f3f689a8fbe5e9cb87315da51573f16199 Mon Sep 17 00:00:00 2001 From: Burathar Date: Sat, 25 Jul 2020 14:28:05 +0200 Subject: [PATCH] add debug lines --- app/templates/create_game.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/templates/create_game.html b/app/templates/create_game.html index 9be4aed..65a2ab3 100644 --- a/app/templates/create_game.html +++ b/app/templates/create_game.html @@ -102,7 +102,9 @@ } else { $(picker).data("DateTimePicker").enable(); + console.log('1') if ($(picker).data("DateTimePicker") == null){ + console.log('2') $(picker).data("DateTimePicker") = moment().format('DD-MM-YYYY HH:mm'); } }