Skip to content

Commit

Permalink
Fix term starting with ' not clickable in search field
Browse files Browse the repository at this point in the history
  • Loading branch information
wildjcrt committed Jan 9, 2018
1 parent f504bc1 commit 4cc20da
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions main.js
Expand Up @@ -726,11 +726,7 @@
window.fillQuery = fillQuery = function(it){
var title, input;
title = replace$.call(decodeURIComponent(it), /[((].*/, '');
if (LANG !== 'p') {
title = replace$.call(title, /^[':!~;\|]/, '');
} else {
title = replace$.call(title, /^[:!~;\|]/, '');
}
title = replace$.call(title, /^[:!~;\|]/, '');
if (/^</.exec(title)) {
return;
}
Expand Down

0 comments on commit 4cc20da

Please sign in to comment.