summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code/javascript.txt
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-04-19 15:10:56 -0700
committerCarlton Gibson <carlton@noumenal.es>2020-04-22 15:44:55 +0200
commitf27482f147ac5871a8e70dbbecead3691cc8eb3d (patch)
tree685b5252f3aa685bf503623eea9b3d297667916a /docs/internals/contributing/writing-code/javascript.txt
parenta8bb53dbd24c90c280e90332d9a1f9f64efde3c7 (diff)
Fixed #31483 -- Rewrote change_form.js without jQuery.
The use of $(document).ready() was removed. The script is loaded at the end of the document. Therefore, the referenced DOM elements are already available and the script does not need to wait for the full DOM to be ready before continuing. Now that the script has no external dependencies, it can be loaded asynchronously. As such, the async attribute was added to the script element.
Diffstat (limited to 'docs/internals/contributing/writing-code/javascript.txt')
0 files changed, 0 insertions, 0 deletions