diff --git a/htroot/yacy/ui/js/yacyui-portalsearch.js b/htroot/yacy/ui/js/yacyui-portalsearch.js index 4e47b5258..4418a056d 100644 --- a/htroot/yacy/ui/js/yacyui-portalsearch.js +++ b/htroot/yacy/ui/js/yacyui-portalsearch.js @@ -271,8 +271,8 @@ function yacysearch(global) { $('#ynav1').accordion('activate', false); $('#yside a').click(function() { var modifier = $(this).attr('modifier'); - modifier = modifier.replace(/^#/,' '); - var query = $("#yquery").getValue() + modifier; + modifier = modifier.replace(/^#/,''); + var query = $("#yquery").getValue() + " " +modifier; $("#yquery").setValue(query); $("#yquery").trigger('keyup'); });