Remove all explicit and implicit conversions of statusId to number, changed
explicit ones so that they convert them to string
This commit is contained in:
parent
1fb9ceb59b
commit
ef2585e32b
5 changed files with 15 additions and 13 deletions
|
@ -270,7 +270,7 @@ const Status = {
|
|||
},
|
||||
replyEnter (id, event) {
|
||||
this.showPreview = true
|
||||
const targetId = Number(id)
|
||||
const targetId = String(id)
|
||||
const statuses = this.$store.state.statuses.allStatuses
|
||||
|
||||
if (!this.preview) {
|
||||
|
@ -295,7 +295,7 @@ const Status = {
|
|||
},
|
||||
watch: {
|
||||
'highlight': function (id) {
|
||||
id = Number(id)
|
||||
id = String(id)
|
||||
if (this.status.id === id) {
|
||||
let rect = this.$el.getBoundingClientRect()
|
||||
if (rect.top < 100) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue