Hide "have a custom id" button when on done screen

This commit is contained in:
Derek Schmidt 2021-07-03 18:02:52 -07:00
parent 40475a811a
commit 63a2aa52bd

View file

@ -87,7 +87,7 @@
<p>
<p>If you ever want to revoke this access, just head over to Twitch's <a href="https://www.twitch.tv/settings/connections">connections page</a></p>
</div>
<i onclick="setCustomClientId()">Have your own client id?</i>
<i id="customid_button" onclick="setCustomClientId()">Have your own client id?</i>
<div id="access_window" class="hidden">
<p>Copy these two values into your config.toml - happy streaming!</p>
@ -152,6 +152,7 @@
document.getElementById('authorize_link').className = 'hidden';
document.getElementById('start_window').className = 'hidden';
document.getElementById('customid_button').className = 'hidden';
document.getElementById('access_window').className = '';
document.getElementById('codes').defaultValue = 'client_id = "' + default_client_id + '"\naccess_token = "' + access_token + '"';