This website works better with JavaScript.
Home
Explore
Help
Sign In
chemicalcrux
/
feast
Watch
1
Star
0
Fork
1
Code
Issues
2
Pull Requests
1
Releases
0
Wiki
Activity
Browse Source
Fix incorrect null check
vintage
Fen Dweller
5 years ago
parent
dc8fe74339
commit
7453c101c0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/components/Combat.vue
+ 1
- 1
src/components/Combat.vue
View File
@@ -161,7 +161,7 @@ export default class Combat extends Vue {
this.scrollParentTo(creature)
}
const target: HTMLElement|null = this.$el.querySelector("[data-active]")
if (
creature
!== null) {
if (
target
!== null) {
this.scrollParentTo(target)
}
})
Write
Preview
Loading…
Cancel
Save