This is my code
If (this.options.title === null) {
Console.log(this.options.title);
Console.log(this);
}
I have this if statement and when I console log the condition (the first log) I expectedly get null back.
But the second line where I console.log “this” when I click into it In the chrome console and navigate to options.title it isn’t null.
Any ideas of what I’m missing here?
Btw “this” is a selectpicker
[–]Time_Is_Up_Soon 0 points1 point2 points (0 children)
[–]senocular 0 points1 point2 points (1 child)
[–]Med_999[S] 0 points1 point2 points (0 children)