Skip to content

Commit

Permalink
Merge pull request #60 from CAMeL-Lab/fix_signin_bugs
Browse files Browse the repository at this point in the history
added unload listener
  • Loading branch information
muhammed-abuodeh authored Feb 19, 2024
2 parents 63520ff + 147266f commit bf749b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions authenticator.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function onAuthenticated() {
}

function authenticate() {
window.onbeforeunload = function () {};
window.open("https://mra9407.pythonanywhere.com/authorize", "_self", "popup");
// // callbackafter access token is retrieved
// tokenClient.callback = async (resp) => {
Expand Down
2 changes: 1 addition & 1 deletion viewtree.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<div class="container" style="width:100%">
<section id="upload1" class="upload; display:none">
<p>MyDrive CoNLL-U files</p>
<input style="float: left; display: none" type="button" id="browse_btn" value="Browse MyDrive" />
<input style="float: left" type="button" id="browse_btn" value="Browse MyDrive" />
<p id="picked_filename" style="float: left"></p>
<input style="float:right" type="button" id="treebtn1" value="Upload"
onClick="setupTreePage(RemoteFileInputChecker)" />
Expand Down

0 comments on commit bf749b7

Please sign in to comment.