Skip to content

Commit

Permalink
set script type correctly
Browse files Browse the repository at this point in the history
In a project we are moving all javascript tags/containers to the bottom of the page using Diazo. Since this one isn't correctly typed it will stick in the middle, but since everything all other real javascript is moved, jQuery will still be undefined.
  • Loading branch information
fredvd committed Feb 18, 2015
1 parent b7cf0f2 commit a4c5174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collective/easyform/browser/modeleditor.pt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</form>
<div id="modelEditor" tal:content="view/modelSource" />
</div>
<script>
<script type="text/javascript">
// start with an editor that fits the viewport with room
// to show the save button.
jQuery(function ($) {
Expand Down

0 comments on commit a4c5174

Please sign in to comment.