closes #544 (Translation error german / english mix)
@ -5,6 +5,8 @@
*/
$(document).ready(function () {
if (typeof moment !== 'undefined') {
moment.locale($('html').attr('lang'));
$.each($('.moment-countdown'), function (i, e) {
var span = $(e);
var text = span.html();
@ -9,10 +9,6 @@ require('./forms');
require('./sticky-headers');
require('./moment-countdown');
$(function () {
});
$.ajaxSetup({
headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}