diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-04-12 09:31:05 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-04-12 09:31:05 -0500 |
| commit | e8c5246645c2d09ddbe6b1e85d0ebcc1478e7e30 (patch) | |
| tree | 72dfbed5cceed1ea156da94464995aae2c25d7fd /src | |
| parent | 98295b85ab408d0eb84ca4a5e94823413a515cba (diff) | |
| download | invidious-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.ecr | 4 | ||||
| -rw-r--r-- | src/invidious/views/licenses.ecr | 2 |
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> |
