Skip to content

Commit

Permalink
custom.js actually fixed now
Browse files Browse the repository at this point in the history
  • Loading branch information
rlpowell committed Oct 8, 2021
1 parent 1d6ccad commit a1f69fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlasisku/templates/custom.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
function search() {
window.location = "${url_for('app.query', query='')}" + encodeURIComponent(jQuery('#query').attr('value'));
window.location = "{{ url_for('app.query', query='') }}" + encodeURIComponent(jQuery('#query').attr('value'));
return false;
}

jQuery(function ($) {
$('a').tipTip({maxWidth: '600px'});
$('#query').autocomplete("${url_for('app.complete')}", {
$('#query').autocomplete("{{ url_for('app.complete') }}", {
delay: 0,
matchCase: true,
selectFirst: false
Expand Down

0 comments on commit a1f69fd

Please sign in to comment.