Prevent JS error by sync-loading jquery.autocomplete….js
This commit is contained in:
@@ -71,7 +71,7 @@ span#project-edit-title
|
|||||||
|
|
||||||
| {% block footer_scripts %}
|
| {% block footer_scripts %}
|
||||||
| {% if (project.user == current_user.objectid or current_user.has_cap('admin')) %}
|
| {% if (project.user == current_user.objectid or current_user.has_cap('admin')) %}
|
||||||
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.autocomplete-0.22.0.min.js') }}", async=true)
|
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.autocomplete-0.22.0.min.js') }}")
|
||||||
script.
|
script.
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
function shareWithUser(event, hit, dataset) {
|
function shareWithUser(event, hit, dataset) {
|
||||||
|
Reference in New Issue
Block a user