Fix table sorting algorithm #41

Merged
timw4mail merged 5 commits from :fix-sort into develop 11 months ago

Closes #40

Closes #40
colwellkr added 3 commits 11 months ago
timw4mail reviewed 11 months ago
console.log("Comparing " + textA + " and " + textB)
if(th.classList.contains("numeric")){
arrayA = textA.replace('\n\t\t\t\t\t\tepisodes: ','').replace('-',0).split("/")

It's probably better to use the string trim method, so the whitespace doesn't matter.

It's probably better to use the string trim method, so the whitespace doesn't matter.
colwellkr added 1 commit 11 months ago
a0e6467f17 Removed whitespace from string.replace() call
Poster

For some reason string.trim() was not removing the whitespace, but limiting the replace to only episodes: allows parseInt to still work.

For some reason string.trim() was not removing the whitespace, but limiting the replace to only `episodes:` allows parseInt to still work.
timw4mail added 1 commit 11 months ago
42fa458058 Merge branch 'develop' into fix-sort
timw4mail merged commit 8c6706f7de into develop 11 months ago
timw4mail deleted branch fix-sort 11 months ago
timw4mail/HummingBirdAnimeClient/pipeline/pr-develop Build started...
The pull request has been merged as 8c6706f7de.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: timw4mail/HummingBirdAnimeClient#41
Loading…
There is no content yet.