mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-04-13 01:40:58 +00:00
fix: remove on windwos load from add another
This commit is contained in:
parent
88a1676c54
commit
c8ea22877b
1 changed files with 1 additions and 3 deletions
|
|
@ -499,9 +499,7 @@ var google, django, gettext;
|
|||
// Note: The add another functionality in admin is injected through inline javascript,
|
||||
// here we have to run after that (and after all other ready events just to be sure).
|
||||
$(document).ready(function () {
|
||||
$(window).on("load", function () {
|
||||
handleAddAnotherInline();
|
||||
});
|
||||
handleAddAnotherInline();
|
||||
});
|
||||
|
||||
// Group fields in (existing) tabular inlines
|
||||
|
|
|
|||
Loading…
Reference in a new issue