mirror of https://github.com/zulip/zulip.git
streams: Prevent cursor jump to the end of editing stream-descr.
This prevents the cursor to jump at the end of the content-editable area when the user types in the middle. Fixes #4202.
This commit is contained in:
parent
0fc946aef4
commit
9a339a7053
|
@ -476,7 +476,6 @@ $(function () {
|
||||||
// wrong.
|
// wrong.
|
||||||
if (this.hasChildNodes()) {
|
if (this.hasChildNodes()) {
|
||||||
this.innerText = this.innerText;
|
this.innerText = this.innerText;
|
||||||
place_caret_at_end(this);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue