hopefully last place that needs fixing #71

This commit is contained in:
Hannes Mannerheim 2015-01-20 15:25:14 +01:00
parent bbbbfb2920
commit 679e02ab0b

View File

@ -719,7 +719,7 @@ $('body').on('click','.profile-banner-footer .stats li a, .queet-stream',functio
$('#search-query').on('keyup',function(e) { if(e.keyCode==13) { showSearchStream(); }}); // on enter in input field
$('button.icon.nav-search').on('click',function(e) { showSearchStream();}); // on click on magnifying glass
function showSearchStream() {
streamName = 'search.json?q=' + encodeURIComponent($('#search-query').val());
streamName = 'search.json?q=' + encodeURIComponent(replaceHtmlSpecialChars($('#search-query').val()));
setNewCurrentStream(streamName,function(){},true);
}