Skip to content

Commit

Permalink
remove path to avoid issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fawazahmed0 committed Feb 24, 2023
1 parent 56c611a commit d9ccfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/commoncode.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ window.getQuranCardElem = function (quran, editionName, dirval, lang, authorName
window.beginSearch = function () {
let newparams = new window.URLSearchParams();
let searchquery = document.getElementById('searchquery').value
newparams.set('q', `${searchquery} path:Quran`)
newparams.set('q', `${searchquery}`)
window.open(`https://github.com/fawazahmed0/quran-hadith-search/search?${newparams.toString()}`, '_blank');
window.open(`https://github.com/fawazahmed0/quran-hadith-search/search?${newparams.toString()}&type=wikis`, '_blank');
}
Expand Down

0 comments on commit d9ccfcd

Please sign in to comment.