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 <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
7b8780daa1
commit
8606ca9a0e
1 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
//]]>
|
||||
|
|
Loading…
Reference in a new issue