Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Update something
Browse files Browse the repository at this point in the history
  • Loading branch information
Seedmanc committed Nov 14, 2015
1 parent b055a3c commit 61d19fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h1>Booru Mass-Uploader</h1>
</div>
</fieldset>

<p style="text-align:center;" id="loggedIn"></p>
<p style="text-align:center;margin-top:-1em;margin-bottom:-0.33em;" id="loggedIn"></p>

<div class="para" style="padding:2px 1em;text-align:center;">
Images:
Expand Down
6 changes: 1 addition & 5 deletions js/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,7 @@ function UploadOptions() {
};
auth.use = auth.userID && auth.ticket;

$show('loggedIn');
if (auth.use)
$set('loggedIn', 'You are logged in')
else
$set('loggedIn', 'You are anonymous');
document.getElementById('loggedIn').textContent = auth.use ? 'You are logged in' : 'You are posting anonymously';

var uploadURL = document.location.href.split('.')[0]+'.booru.org/index.php?page=post&s=add';

Expand Down

0 comments on commit 61d19fc

Please sign in to comment.