diff --git a/static/js/keyword.js b/static/js/keyword.js index e431fcc..d583a21 100644 --- a/static/js/keyword.js +++ b/static/js/keyword.js @@ -253,11 +253,12 @@ $(function () { function openSearch(keyword) { var type = getSeachType(); + console.log('type', type) var baseUrl = search_types.find(function (item) { return item.type === type; }); if (baseUrl && keyword) { - window.open(baseUrl.url + keyword); + window.open(baseUrl.url + keyword, keyword); } } }); \ No newline at end of file