mirror of
https://github.com/aunefyren/wrapperr
synced 2024-12-12 20:32:27 +00:00
Removed share button if not using Plex Auth
This commit is contained in:
parent
747a4dd16a
commit
4cf7e3fa9f
2 changed files with 3 additions and 2 deletions
|
@ -115,7 +115,8 @@ $functions_json = array("wrapperr_version" => $config->wrapperr_version,
|
|||
"wrapperr_second" => $config->wrapperr_second,
|
||||
"wrapperr_second_plural" => $config->wrapperr_second_plural,
|
||||
"wrapperr_sort_plays" => $config->wrapperr_sort_plays,
|
||||
"wrapperr_sort_duration" => $config->wrapperr_sort_duration
|
||||
"wrapperr_sort_duration" => $config->wrapperr_sort_duration,
|
||||
"use_plex_auth" => $config->use_plex_auth
|
||||
);
|
||||
|
||||
// Encode JSON and print it
|
||||
|
|
|
@ -961,7 +961,7 @@ function load_outro() {
|
|||
|
||||
text += "<div class='boks2' style='margin-top:5em;'>";
|
||||
|
||||
if(!link_mode && functions.create_share_links) {
|
||||
if(!link_mode && functions.create_share_links && functions.use_plex_auth) {
|
||||
|
||||
text += "<div class='form-group' id='share_wrapped_div' style=''>";
|
||||
text += "<button class='form-control btn' name='share_wrapped_button' id='share_wrapped_button' onclick='create_wrapped_link()'>";
|
||||
|
|
Loading…
Reference in a new issue