Hide "have a custom id" button when on done screen
This commit is contained in:
parent
40475a811a
commit
63a2aa52bd
1 changed files with 2 additions and 1 deletions
|
@ -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 + '"';
|
||||
|
|
Loading…
Add table
Reference in a new issue