jQuery et al now work
This commit is contained in:
		
							parent
							
								
									c4c2379a5e
								
							
						
					
					
						commit
						cd60da87c0
					
				
					 3 changed files with 4 additions and 6 deletions
				
			
		|  | @ -1,6 +1,10 @@ | ||||||
| {% load compress %} | {% load compress %} | ||||||
| {% load staticfiles %} | {% load staticfiles %} | ||||||
| 
 | 
 | ||||||
|  | <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script> | ||||||
|  | <script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.js"></script> | ||||||
|  | 
 | ||||||
| {% compress js %} | {% compress js %} | ||||||
|  |   <script src='{% static "bootstrap/javascripts/bootstrap.min.js" %}'></script> | ||||||
|   <script src='{% static "js/site.js" %}'></script> |   <script src='{% static "js/site.js" %}'></script> | ||||||
| {% endcompress %} | {% endcompress %} | ||||||
|  |  | ||||||
|  | @ -46,7 +46,6 @@ | ||||||
| 
 | 
 | ||||||
| {% block scripts %} | {% block scripts %} | ||||||
|     {% include "_scripts.html" %} |     {% include "_scripts.html" %} | ||||||
|     <script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.js"></script> |  | ||||||
| {% endblock %} | {% endblock %} | ||||||
| 
 | 
 | ||||||
| {% block extra_body_base %} | {% block extra_body_base %} | ||||||
|  |  | ||||||
|  | @ -1,9 +1,4 @@ | ||||||
| /* global window ace */ | /* global window ace */ | ||||||
| window.jQuery = window.$ = require('jquery'); |  | ||||||
| 
 |  | ||||||
| const $ = window.$; |  | ||||||
| 
 |  | ||||||
| require('bootstrap'); |  | ||||||
| 
 | 
 | ||||||
| const loadEditors = () => { | const loadEditors = () => { | ||||||
|     const $editors = $('.modal-body textarea, #id_body, #id_comment, #id_message, #id_text, #id_abstract, #id_additional_notes, #id_content_override, #id_description, #id_biography'); |     const $editors = $('.modal-body textarea, #id_body, #id_comment, #id_message, #id_text, #id_abstract, #id_additional_notes, #id_content_override, #id_description, #id_biography'); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer