summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-04-12 09:31:05 -0500
committerOmar Roth <omarroth@hotmail.com>2019-04-12 09:31:05 -0500
commite8c5246645c2d09ddbe6b1e85d0ebcc1478e7e30 (patch)
tree72dfbed5cceed1ea156da94464995aae2c25d7fd /src
parent98295b85ab408d0eb84ca4a5e94823413a515cba (diff)
downloadinvidious-e8c5246645c2d09ddbe6b1e85d0ebcc1478e7e30.tar.gz
invidious-e8c5246645c2d09ddbe6b1e85d0ebcc1478e7e30.tar.bz2
invidious-e8c5246645c2d09ddbe6b1e85d0ebcc1478e7e30.zip
Fix share button
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/components/player.ecr4
-rw-r--r--src/invidious/views/licenses.ecr2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr
index 5609da98..b9158e39 100644
--- a/src/invidious/views/components/player.ecr
+++ b/src/invidious/views/components/player.ecr
@@ -63,9 +63,9 @@ var options = {
};
var shareOptions = {
- socials: ["fb", "tw", "reddit", "mail"],
+ socials: ["fbFeed", "tw", "reddit", "email"],
- url: "<%= host_url %>/<%= video.id %>?<%= host_params %>",
+ url: window.location.href,
title: "<%= video.title.dump_unquoted %>",
description: "<%= description %>",
image: "<%= thumbnail %>",
diff --git a/src/invidious/views/licenses.ecr b/src/invidious/views/licenses.ecr
index a6f13dca..dda42ea8 100644
--- a/src/invidious/views/licenses.ecr
+++ b/src/invidious/views/licenses.ecr
@@ -117,7 +117,7 @@
</td>
<td>
- <a href="https://github.com/mkhazov/videojs-share"><%= translate(locale, "source") %></a>
+ <a href="https://github.com/omarroth/videojs-share/tree/add-email"><%= translate(locale, "source") %></a>
</td>
</tr>