Просмотр исходного кода

Spacing tweaks to try to resolve odd conflict

MatthewHana 1 год назад
Родитель
Сommit
d05d726dc2
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      radicale/web/internal_data/fn.js

+ 5 - 5
radicale/web/internal_data/fn.js

@@ -1352,9 +1352,9 @@ function bytesToHumanReadable(bytes, dp=1) {
     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;
-    if(a.target){
+    if (a.target) {
         href_form = a.target;
     }
     let currentTxtVal = href_form.value.trim().toLowerCase();
@@ -1363,11 +1363,11 @@ function cleanHREFinput(a){
     href_form.value = currentTxtVal;
 }
 
-function isValidHREF(href){
-    if(href.length < 1){
+function isValidHREF(href) {
+    if (href.length < 1) {
         return false;
     }
-    if(href.indexOf("/") != -1){
+    if (href.indexOf("/") != -1) {
         return false;
     }