Skip to content

Commit

Permalink
🎨 Remove linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chetbae committed Jul 17, 2023
1 parent 57cd07c commit 07d98bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 0 additions & 6 deletions deployment/server/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,6 @@
background-color: #f6f6f6;
}

.folio-entry {
}

.manuscript-entry {
}

.filename-text {
display: flex;
justify-content: center;
Expand Down
7 changes: 5 additions & 2 deletions src/Dashboard/UploadArea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ export function InitUploadArea(currentFolder: IFolder): void {
modalWindow.setModalWindowView(ModalWindowView.DOCUMENT_UPLOAD);
modalWindow.openModalWindow();

document.querySelector('#make_pair')!.addEventListener('click', handleMakePair);
document.querySelector('#upload_button')!.addEventListener('click', () => handleUploadUpdate(modalWindow, currentFolder));
const pairButton = document.querySelector('#make_pair');
const uploadButton = document.querySelector('#upload_button');

pairButton.addEventListener('click', handleMakePair);
uploadButton.addEventListener('click', () => handleUploadUpdate(modalWindow, currentFolder));

// request user file system when clicking on upload area
const fileSelector = document.createElement('input');
Expand Down

0 comments on commit 07d98bd

Please sign in to comment.