diff --git a/Chavah.NetCore/Controllers/HomeController.cs b/Chavah.NetCore/Controllers/HomeController.cs index b7d9fb6..4299507 100644 --- a/Chavah.NetCore/Controllers/HomeController.cs +++ b/Chavah.NetCore/Controllers/HomeController.cs @@ -115,6 +115,14 @@ public IActionResult Give() return Redirect("https://blog.messianicradio.com/2020/06/announcing-messiahs-musicians-fund-we.html"); } + [HttpGet] + [Route("giveonce")] + [Route("give-once")] + public IActionResult GiveOnce() + { + return Redirect("https://messianicradio.com/#/donate"); + } + [HttpGet] public IActionResult ActivityFeed() { diff --git a/Chavah.NetCore/wwwroot/js/Controllers/HeaderController.ts b/Chavah.NetCore/wwwroot/js/Controllers/HeaderController.ts index 48299e0..8511cd8 100644 --- a/Chavah.NetCore/wwwroot/js/Controllers/HeaderController.ts +++ b/Chavah.NetCore/wwwroot/js/Controllers/HeaderController.ts @@ -159,13 +159,6 @@ dismissDonationBanner() { window.localStorage.setItem(HeaderController.donationBannerLocalStorageKey, "true"); } - - skipToNearEnd(): void { - const duration = this.audioPlayer.duration.getValue(); - if (!isNaN(duration) && duration > 0) { - this.audioPlayer.skipToNearEndZanz(); - } - } } App.controller("HeaderController", HeaderController); diff --git a/Chavah.NetCore/wwwroot/js/Services/AudioPlayerService.ts b/Chavah.NetCore/wwwroot/js/Services/AudioPlayerService.ts index f2a237a..acabc37 100644 --- a/Chavah.NetCore/wwwroot/js/Services/AudioPlayerService.ts +++ b/Chavah.NetCore/wwwroot/js/Services/AudioPlayerService.ts @@ -214,12 +214,6 @@ namespace BitShuva.Chavah { } } - skipToNearEndZanz() { - if (this.audio && this.audio.duration) { - this.audio.currentTime = this.audio.duration - 10; - } - } - skipToEnd() { if (this.audio && this.audio.duration) { this.audio.currentTime = this.audio.duration - 1; diff --git a/Chavah.NetCore/wwwroot/views/partials/Footer.html b/Chavah.NetCore/wwwroot/views/partials/Footer.html index 9902a20..73bbdd4 100644 --- a/Chavah.NetCore/wwwroot/views/partials/Footer.html +++ b/Chavah.NetCore/wwwroot/views/partials/Footer.html @@ -39,7 +39,7 @@ - + diff --git a/Chavah.NetCore/wwwroot/views/partials/Header.html b/Chavah.NetCore/wwwroot/views/partials/Header.html index 5d5abba..c8fd9dd 100644 --- a/Chavah.NetCore/wwwroot/views/partials/Header.html +++ b/Chavah.NetCore/wwwroot/views/partials/Header.html @@ -142,12 +142,6 @@

Administration -
  • - - - Judah repro - -
  • Sign out