diff --git a/app/controllers/auth/tara_controller.rb b/app/controllers/auth/tara_controller.rb index 69add5620..eb4ac2ca0 100644 --- a/app/controllers/auth/tara_controller.rb +++ b/app/controllers/auth/tara_controller.rb @@ -34,7 +34,7 @@ def create end def cancel - redirect_to root_path, notice: t(:sign_in_cancelled) + redirect_to root_path, notice: t('sign_in_cancelled') end private diff --git a/app/javascript/controllers/timeleft_controller.js b/app/javascript/controllers/timeleft_controller.js index ed0783f36..175d48053 100644 --- a/app/javascript/controllers/timeleft_controller.js +++ b/app/javascript/controllers/timeleft_controller.js @@ -40,8 +40,6 @@ export default class extends Controller { let difference = this.timeDifference(); if (difference < 0) { - var expiredMsg = $("#timer_message").data("expiredMessage"); - $("#timer_message").html(expiredMsg); this.stopTimer(); this.buttonTarget.removeAttribute("disabled"); this.buttonTarget.innerHTML = this.defaultMessageTimerValue;