summaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
authorJeroen <jeroenpardon@users.noreply.github.com>2020-08-07 03:11:40 +0200
committerGitHub <noreply@github.com>2020-08-07 03:11:40 +0200
commit3cbb7a78a76bccb1036cd339f39eb88867a50710 (patch)
tree19a3191a6ce8b4fc44010fa7e0134ac50aa1296a /assets/js
parent4ca0116de42dae6310a931349b26d0bbe70148b6 (diff)
parent0aff01f2204e0312b8ed6f671121f6fbfe5cad77 (diff)
Merge pull request #12 from thewarden/fix-tvdb
fix: correct tvdb link parameter
Diffstat (limited to 'assets/js')
-rwxr-xr-xassets/js/search.js4
1 files changed, 2 insertions, 2 deletions
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
+};