fotogjengen
$(document).ready(function () {
$('#id_motive').typeahead({
name: 'motive',
limit: 10,
remote: {
url: '/arkiv/api/auto/motive/?q=%QUERY',
filter: function (parsedResponse) {
return parsedResponse;
},
},
template: [
'',
].join(''),
engine: Hogan
})
$('#search_nav').typeahead({
name: 'search_nav',
limit: 10,
remote: {
url: '/arkiv/api/auto/tag/?q=%QUERY',
filter: function (parsedResponse) {
return parsedResponse;
},
},
template: [
'',
].join(''),
engine: Hogan
})
})