Skip to content

Commit

Permalink
Fix the scroll to a discussion sub-thread (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
abulte committed Oct 10, 2017
1 parent 10f1164 commit 867300b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -20,6 +20,7 @@
- Improve harvesting licenses detection [#1203](https://github.com/opendatateam/udata/pull/1203)
- Added missing delete post and topic admin actions [#1202](https://github.com/opendatateam/udata/pull/1202)
- Switch from static theme avatars/placeholders to [identicons](https://en.wikipedia.org/wiki/Identicon) for readability (mostly on discussions) [#1193](https://github.com/opendatateam/udata/pull/1193)
- Fix the scroll to a discussion sub-thread [#1206](https://github.com/opendatateam/udata/pull/1206)

## 1.1.8 (2017-09-28)

Expand Down
2 changes: 1 addition & 1 deletion js/components/discussions/thread.vue
Expand Up @@ -136,7 +136,7 @@ export default {
this.detailed = true;
if (index) {
this.$nextTick(() => {
this.$scrollTo(`#${discussionIdAttr}-${index}`);
this.$scrollTo(`#${this.discussionIdAttr}-${index}`);
})
} else {
this.$scrollTo(this);
Expand Down

0 comments on commit 867300b

Please sign in to comment.