Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This is like [Invidious](https://invidious.io/) but only for [Ultimate Guitar](h


## How to use it
After successfull installation, there is an executable called `freetar` in the PATH. Execute it without parameters and it listens on 0.0.0.0:22000.
After successful installation, there is an executable called `freetar` in the PATH. Execute it without parameters and it listens on 0.0.0.0:22000.


**PyPi**
Expand Down
2 changes: 1 addition & 1 deletion freetar/static/scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function startScrolling() {
scrollInterval = setInterval(pageScroll, scrollTimeout);
}

// Sets `pausedForUserInteraction` to `true` for `delay` miliseconds.
// Sets `pausedForUserInteraction` to `true` for `delay` milliseconds.
// Will stop `pageScroll` from actually scrolling the page
function pauseScrolling(delay) {
pausedForUserInteraction = true;
Expand Down
6 changes: 3 additions & 3 deletions freetar/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@

{% if favs %}
<details><summary>Advanced</summary>
<strong class="d-block">Export favorties</strong>
<strong class="d-block">Export favorites</strong>
<button type="button" class="btn btn-secondary" onclick="exportFavorites()">Export</button><br/>
<strong class="mt-3 d-block">Import favorites</strong>
<input type="file" class="form-control" onchange="importFavorties(this)" />
<input type="file" class="form-control" onchange="importFavorites(this)" />
</details>

<script>
Expand Down Expand Up @@ -65,7 +65,7 @@
document.body.removeChild(a);
}

function importFavorties(input) {
function importFavorites(input) {
const file = input.files[0];
if (file) {
const reader = new FileReader();
Expand Down