Commit 7bb37138 authored by aniket-engg's avatar aniket-engg Committed by Aniket

references improved

parent d6291669
......@@ -86,7 +86,7 @@ class ContextView {
}
}
}
if (!this._current || !previous || previous.id !== this._current.id) {
if (!this._current || !previous || previous.id !== this._current.id || (this.previousElement && !this.previousElement.children.length)) {
this.previousElement = this._render(this._current, last)
}
return this.previousElement
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment