Browse Source

add debug lines

testing
Burathar 4 years ago
parent
commit
77c341f3f6
  1. 2
      app/templates/create_game.html

2
app/templates/create_game.html

@ -102,7 +102,9 @@
} }
else { else {
$(picker).data("DateTimePicker").enable(); $(picker).data("DateTimePicker").enable();
console.log('1')
if ($(picker).data("DateTimePicker") == null){ if ($(picker).data("DateTimePicker") == null){
console.log('2')
$(picker).data("DateTimePicker") = moment().format('DD-MM-YYYY HH:mm'); $(picker).data("DateTimePicker") = moment().format('DD-MM-YYYY HH:mm');
} }
} }

Loading…
Cancel
Save