Skip to content

Commit

Permalink
remove the hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
nlopin committed Jul 3, 2024
1 parent 6677f6d commit 86a6abc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions frontend/static/js/components/ReplyForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@ export default {
}
}
},
mounted: function() {
if (window.location.hash) {
const anchorEl = document.getElementById(window.location.hash.substring(1))
if (anchorEl) {
window.location = window.location
anchorEl.scrollIntoView()
}
}
},
updated: function() {
if (this.replyTo !== null && this.getEditor()) {
// move the reply form under the comment
Expand Down

0 comments on commit 86a6abc

Please sign in to comment.