Преглед изворни кода

Fix incorrect null check

vintage
Fen Dweller пре 5 година
родитељ
комит
7453c101c0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/components/Combat.vue

+ 1
- 1
src/components/Combat.vue Прегледај датотеку

@@ -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)
}
})


Loading…
Откажи
Сачувај