Skip to content

Commit 3515885

Browse files
cbravobernalkraftbj
authored andcommitted
Small fix on field link (#106)
1 parent 72e34f5 commit 3515885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/src/js/_acf-field-link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
// update text
5757
this.$( '.link-title' ).html( val.title );
58-
this.$( '.link-url' ).attr( 'href', val.url ).html( val.url );
58+
this.$( '.link-url' ).attr( 'href', val.url ).text( val.url );
5959

6060
// update node
6161
$node.html( val.title );

0 commit comments

Comments
 (0)