ref #6119 scheme url removed
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-09-06 14:33:31 +02:00
parent f46d6355dd
commit 86ecaedb0e
2 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<span ng-if="$ctrl.showNumber">
{{ $ctrl.phoneNumber }}
</span>
<a href="{{$ctrl.schemeUrl}}:{{$ctrl.phoneNumber}}">
<a href="tel:{{$ctrl.phoneNumber}}">
<vn-icon
flat
round
@ -14,7 +14,7 @@
</vn-icon>
</a>
</span>
<a ng-if="!$ctrl.icon" href="$ctrl.schemeUrl:$ctrl.phoneNumber">
<a ng-if="!$ctrl.icon" href="tel:$ctrl.phoneNumber">
{{ $ctrl.phoneNumber }}
</a>
</span>

View File

@ -5,7 +5,6 @@ class Controller {
this.phoneNumber = null;
this.icon = true;
this.showNumber = true;
this.schemeUrl = 'tel';
}
}
@ -16,6 +15,5 @@ ngModule.vnComponent('vnLinkPhone', {
phoneNumber: '<',
icon: '<?',
showNumber: '<?',
schemeUrl: '<?',
}
});