From 8606ca9a0e8d476b4674ec0325402c16de8e58da Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Fri, 25 Oct 2019 13:39:12 +0000 Subject: [PATCH] Bug 23901: Fix indentation This patch only fixes the indentation of code inside the if-block. To test: 1. Apply patch 2. Run: git diff -w HEAD~1 and observe no result Sponsored-by: Koha-Suomi Oy Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- .../bootstrap/en/modules/opac-messaging.tt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt index ef2b776144..3d25f5372f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -194,17 +194,17 @@ function normalizeSMS(value){ var sms_input = document.getElementById('SMSnumber'); if (typeof sms_input !== 'undefined' && sms_input !== null) { -sms_input.addEventListener('keyup', function(){ - var field = sms_input.value; - sms_input.value = normalizeSMS(field); -}); + sms_input.addEventListener('keyup', function(){ + var field = sms_input.value; + sms_input.value = normalizeSMS(field); + }); -sms_input.addEventListener('paste', function(event) { - let paste = (event.clipboardData || window.clipboardData).getData('text'); - setTimeout(function () { - sms_input.value = normalizeSMS(paste); - }, 100); -}); + sms_input.addEventListener('paste', function(event) { + let paste = (event.clipboardData || window.clipboardData).getData('text'); + setTimeout(function () { + sms_input.value = normalizeSMS(paste); + }, 100); + }); } //]]> -- 2.39.5