diff --git a/django/contrib/admin/media/js/inlines.js b/django/contrib/admin/media/js/inlines.js
index cf79023..d9dc9cb 100644
a
|
b
|
|
71 | 71 | .end() |
72 | 72 | .filter(function() { |
73 | 73 | var el = $(this); |
| 74 | return el.attr("for") && el.attr("for").search(/__prefix__/) >= 0; |
| 75 | }).each(function() { |
| 76 | var el = $(this); |
| 77 | el.attr("for", el.attr("for").replace(/__prefix__/g, nextIndex)); |
| 78 | }) |
| 79 | .end() |
| 80 | .filter(function() { |
| 81 | var el = $(this); |
74 | 82 | return el.attr("name") && el.attr("name").search(/__prefix__/) >= 0; |
75 | 83 | }).each(function() { |
76 | 84 | var el = $(this); |