Prechádzať zdrojové kódy

WebClient: remove href to javascript

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 1 rok pred
rodič
commit
d32d0d7587

+ 3 - 3
templates/webclient/profile.html

@@ -70,7 +70,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                                                 placeholder="Paste your public key here">{{$val}}</textarea>
                                         </div>
                                         <div class="col-md-3">
-                                            <a href="javascript:;" data-repeater-delete
+                                            <a href="#" data-repeater-delete
                                                 class="btn btn-light-danger mt-3 mt-md-8">
                                                 <i class="ki-duotone ki-trash fs-5">
                                                     <span class="path1"></span>
@@ -92,7 +92,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                                                 placeholder="Paste your public key here"></textarea>
                                         </div>
                                         <div class="col-md-3">
-                                            <a href="javascript:;" data-repeater-delete
+                                            <a href="#" data-repeater-delete
                                                 class="btn btn-light-danger mt-3 mt-md-8">
                                                 <i class="ki-duotone ki-trash fs-5">
                                                     <span class="path1"></span>
@@ -111,7 +111,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                         </div>
 
                         <div class="form-group mt-5">
-                            <a href="javascript:;" data-repeater-create class="btn btn-light-primary">
+                            <a href="#" data-repeater-create class="btn btn-light-primary">
                                 <i class="ki-duotone ki-plus fs-3"></i>
                                 Add
                             </a>

+ 3 - 3
templates/webclient/share.html

@@ -64,7 +64,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                                                 name="path" value="{{$val}}" />
                                         </div>
                                         <div class="col-md-3">
-                                            <a href="javascript:;" data-repeater-delete
+                                            <a href="#" data-repeater-delete
                                                 class="btn btn-light-danger mt-3 mt-md-8">
                                                 <i class="ki-duotone ki-trash fs-5">
                                                     <span class="path1"></span>
@@ -87,7 +87,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                                                 name="path" value="" />
                                         </div>
                                         <div class="col-md-3">
-                                            <a href="javascript:;" data-repeater-delete
+                                            <a href="#" data-repeater-delete
                                                 class="btn btn-light-danger mt-3 mt-md-8">
                                                 <i class="ki-duotone ki-trash fs-5">
                                                     <span class="path1"></span>
@@ -106,7 +106,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                         </div>
 
                         <div class="form-group mt-5">
-                            <a href="javascript:;" data-repeater-create class="btn btn-light-primary">
+                            <a href="#" data-repeater-create class="btn btn-light-primary">
                                 <i class="ki-duotone ki-plus fs-3"></i>
                                 Add
                             </a>