From 0aff01f2204e0312b8ed6f671121f6fbfe5cad77 Mon Sep 17 00:00:00 2001 From: Adam Douglas Date: Wed, 29 Jul 2020 18:42:53 -0600 Subject: fix: correct link parameter --- assets/js/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/js/search.js') diff --git a/assets/js/search.js b/assets/js/search.js index 9dcdee7..7d3cc76 100755 --- a/assets/js/search.js +++ b/assets/js/search.js @@ -87,7 +87,7 @@ function search(text) { window.location = "https://trakt.tv/search?query=" + subtext; break; case "tv": - window.location = "https://www.thetvdb.com/search?q=" + subtext; + window.location = "https://www.thetvdb.com/search?query=" + subtext; break; case "y": window.location = "https://www.youtube.com/results?search_query=" + subtext; @@ -139,4 +139,4 @@ function containsProtocol(str) { String.prototype.replaceAll = function(search, replacement) { var target = this; return target.split(search).join(replacement); -}; \ No newline at end of file +}; -- cgit v1.2.3