mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #26357 -- Allowed admin popups to work on links added after page load.
This commit is contained in:
parent
6fdb12cdcc
commit
adc93e8599
3 changed files with 8 additions and 2 deletions
|
@ -24,6 +24,12 @@ Code style
|
|||
JSHint will be run when you run the JavaScript tests. We also recommended
|
||||
installing a JSHint plugin in your text editor.
|
||||
|
||||
* Where possible, write code that will work even if the page structure is later
|
||||
changed with JavaScript. For instance, when binding a click handler, use
|
||||
``$('body').on('click', selector, func)`` instead of
|
||||
``$(selector).click(func)``. This makes it easier for projects to extend
|
||||
Django's default behavior with JavaScript.
|
||||
|
||||
.. _javascript-patches:
|
||||
|
||||
JavaScript patches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue