Problem/Motivation
Currently the javascript is loaded inline via the module file, however, according to Drupal standards this should be loaded via a separate javascript file.
Proposed resolution
The javascript code should be moved into a dedicated javascript file and imported into the module via the libraries and module files. A patch will follow below that does this.
Remaining tasks
Review and testing by the community.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | move_inline_javascript_into_its_own_file-3451515-2.patch | 3.03 KB | roaldnel |
Comments
Comment #2
roaldnel commentedThe patch is attached as promised.
Comment #3
batigolixComment #5
roaldnel commented