mirror of
https://github.com/pretix/pretix.git
synced 2026-01-19 23:52:27 +00:00
Fix datepicker locale when using min/max
This commit is contained in:
committed by
GitHub
parent
ea955c779e
commit
2bb324f885
@@ -69,8 +69,6 @@ var cart = {
|
||||
$(function () {
|
||||
"use strict";
|
||||
|
||||
moment.locale($("body").attr("data-locale").substr(0, 2));
|
||||
|
||||
if ($("#cart-deadline").length) {
|
||||
cart.init();
|
||||
}
|
||||
|
||||
@@ -328,6 +328,7 @@ $(function () {
|
||||
"use strict";
|
||||
|
||||
$("body").removeClass("nojs");
|
||||
moment.locale($("body").attr("data-datetimelocale"));
|
||||
|
||||
var scrollpos = sessionStorage ? sessionStorage.getItem('scrollpos') : 0;
|
||||
if (scrollpos) {
|
||||
|
||||
Reference in New Issue
Block a user