mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Spacing tweaks to try to resolve odd conflict
This commit is contained in:
parent
e66055de08
commit
d05d726dc2
1 changed files with 5 additions and 5 deletions
|
@ -1352,9 +1352,9 @@ function bytesToHumanReadable(bytes, dp=1) {
|
||||||
return (bytes / Math.pow(1024, i)).toFixed(dp) * 1 + ' ' + ['b', 'kb', 'mb', 'gb', 'tb'][i];
|
return (bytes / Math.pow(1024, i)).toFixed(dp) * 1 + ' ' + ['b', 'kb', 'mb', 'gb', 'tb'][i];
|
||||||
}
|
}
|
||||||
|
|
||||||
function cleanHREFinput(a){
|
function cleanHREFinput(a) {
|
||||||
let href_form = a;
|
let href_form = a;
|
||||||
if(a.target){
|
if (a.target) {
|
||||||
href_form = a.target;
|
href_form = a.target;
|
||||||
}
|
}
|
||||||
let currentTxtVal = href_form.value.trim().toLowerCase();
|
let currentTxtVal = href_form.value.trim().toLowerCase();
|
||||||
|
@ -1363,11 +1363,11 @@ function cleanHREFinput(a){
|
||||||
href_form.value = currentTxtVal;
|
href_form.value = currentTxtVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
function isValidHREF(href){
|
function isValidHREF(href) {
|
||||||
if(href.length < 1){
|
if (href.length < 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(href.indexOf("/") != -1){
|
if (href.indexOf("/") != -1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue