Fossil SCM
Minor internal JS API doc clarification.
Commit
bcc9a6ea3ec14467a3ffe8f32fface9e8efe40684da1043676255c9954b1bf80
Parent
69135e4f61bddb4…
1 file changed
+3
-3
+3
-3
| --- src/chat.js | ||
| +++ src/chat.js | ||
| @@ -226,13 +226,13 @@ | ||
| 226 | 226 | }else{ |
| 227 | 227 | eMsg.scrollIntoView(false); |
| 228 | 228 | } |
| 229 | 229 | return this; |
| 230 | 230 | }, |
| 231 | - /* Injects element e as a new row in the chat, at the top of the | |
| 232 | - list if atEnd is falsy, else at the end of the list, before | |
| 233 | - the load-history widget. */ | |
| 231 | + /* Injects element e as a new row in the chat, at the oldest end | |
| 232 | + of the list if atEnd is truthy, else at the newest end of the | |
| 233 | + list. */ | |
| 234 | 234 | injectMessageElem: function f(e, atEnd){ |
| 235 | 235 | const mip = atEnd ? this.e.loadOlderToolbar : this.e.messageInjectPoint, |
| 236 | 236 | holder = this.e.messagesWrapper, |
| 237 | 237 | prevMessage = this.e.newestMessage; |
| 238 | 238 | if(atEnd){ |
| 239 | 239 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -226,13 +226,13 @@ | |
| 226 | }else{ |
| 227 | eMsg.scrollIntoView(false); |
| 228 | } |
| 229 | return this; |
| 230 | }, |
| 231 | /* Injects element e as a new row in the chat, at the top of the |
| 232 | list if atEnd is falsy, else at the end of the list, before |
| 233 | the load-history widget. */ |
| 234 | injectMessageElem: function f(e, atEnd){ |
| 235 | const mip = atEnd ? this.e.loadOlderToolbar : this.e.messageInjectPoint, |
| 236 | holder = this.e.messagesWrapper, |
| 237 | prevMessage = this.e.newestMessage; |
| 238 | if(atEnd){ |
| 239 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -226,13 +226,13 @@ | |
| 226 | }else{ |
| 227 | eMsg.scrollIntoView(false); |
| 228 | } |
| 229 | return this; |
| 230 | }, |
| 231 | /* Injects element e as a new row in the chat, at the oldest end |
| 232 | of the list if atEnd is truthy, else at the newest end of the |
| 233 | list. */ |
| 234 | injectMessageElem: function f(e, atEnd){ |
| 235 | const mip = atEnd ? this.e.loadOlderToolbar : this.e.messageInjectPoint, |
| 236 | holder = this.e.messagesWrapper, |
| 237 | prevMessage = this.e.newestMessage; |
| 238 | if(atEnd){ |
| 239 |