Skip to content

Commit

Permalink
Fix user links in profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nonononoki committed Jul 23, 2021
1 parent 97798e5 commit 0b80187
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/templates/blocked-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<script>
function viewProfile(idEnc) {
let url = 'profile/view/' + idEnc;
let url = '/profile/view/' + idEnc;
window.open(url, '_blank').focus();
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/disliked-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<script>
function viewProfile(idEnc) {
let url = 'profile/view/' + idEnc;
let url = '/profile/view/' + idEnc;
window.open(url, '_blank').focus();
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/liked-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<script>
function viewProfile(idEnc) {
let url = 'profile/view/' + idEnc;
let url = '/profile/view/' + idEnc;
window.open(url, '_blank').focus();
}
</script>
Expand Down

0 comments on commit 0b80187

Please sign in to comment.