aboutsummaryrefslogtreecommitdiff
path: root/src/odysee.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/odysee.js')
-rw-r--r--src/odysee.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/odysee.js b/src/odysee.js
index cd1c49c..e0c6609 100644
--- a/src/odysee.js
+++ b/src/odysee.js
@@ -287,7 +287,7 @@ function show_search_entries(new_results_div, response)
description_div.textContent = result.value.description;
result_a.setAttribute("style", "display: block; width: 100%; text-decoration: none; color: #333; margin: 8px; border-style: solid; border-width: 3px 0 0 0; border-color: #7aa;");
- result_a.href = `https://odysee.com${channel_specifier}/${video_name}:${video_id}`;
+ result_a.href = `https://odysee.com/${channel_specifier}/${video_name}:${video_id}`;
if (result.value.thumbnail.url)
result_a.appendChild(thumbnail);
@@ -325,7 +325,7 @@ function search_ajax_error(url)
function get_detailed_search_entries(new_results_div, response)
{
- /* TODO: Simplify JSON handling using sanitize_JSON.js from Hachette. */
+ /* TODO: Simplify JSON handling using JSON schemas. */
try {
var response_data = JSON.parse(response);
if (!Array.isArray(response_data))