Bugfix/misc cleanup (#745)

* Change update check to be between noon and 6pm.

* Added a UI change that was missed

* Fixed an issue on register user where input boxes were not styled correctly

* Fixed renaming a series to an existing series name of a different format.

* Change webtoon reader debug mode
This commit is contained in:
Joseph Milazzo 2021-11-11 17:15:28 -06:00 committed by GitHub
parent 46b2bebeb6
commit dd4aedc323
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 60 additions and 12 deletions

View file

@ -75,7 +75,7 @@ export class LibraryComponent implements OnInit, OnDestroy {
reloadSeries() {
this.loadRecentlyAdded();
this.loadInProgress();
this.loadOnDeck();
}
reloadInProgress(series: Series | boolean) {
@ -88,10 +88,10 @@ export class LibraryComponent implements OnInit, OnDestroy {
return;
}
this.loadInProgress();
this.loadOnDeck();
}
loadInProgress() {
loadOnDeck() {
this.seriesService.getOnDeck().pipe(takeUntil(this.onDestroy)).subscribe((updatedSeries) => {
this.inProgress = updatedSeries.result;
});

View file

@ -251,6 +251,7 @@ export class InfiniteScrollerComponent implements OnInit, OnChanges, OnDestroy {
if (totalScroll === totalHeight && !this.atBottom) {
this.atBottom = true;
this.setPageNum(this.totalPages);
this.debugLog('At last page, saving last page ', this.totalPages);
// Scroll user back to original location
this.previousScrollHeightMinusTop = this.getScrollTop();
requestAnimationFrame(() => document.documentElement.scrollTop = this.previousScrollHeightMinusTop + (SPACER_SCROLL_INTO_PX / 2));

View file

@ -14,4 +14,5 @@
input {
background-color: #fff !important;
color: black !important;
}