mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Update djangojs.js to current Django
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
if (typeof(value) == 'undefined') {
|
||||
return (count == 1) ? singular : plural;
|
||||
} else {
|
||||
return value[django.pluralidx(count)];
|
||||
return value.constructor === Array ? value[django.pluralidx(count)] : value;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user