torchbox/wagtail — pull request #598 by timheap (2014-09-05 04:47:27+00:00)
Title: Move <script> tags to top of body. Fixes #504

Having `

` cause some widgets that rely upon JavaScript to fail, as the required libraries have not been loaded at the point where the widgets are added to the page.

I understand that placing `

` tag is done for speed and user experience reasons, but unfortunately many Django widgets that use JavaScript (including widgets from the geodjango package shipped with Django) assume that the `

` will fix the issue, and will not measurable harm user experience. `