Fossil SCM
Clean up some harmless stray tokens.
Commit
417bb1506482b4151c5f7f962c1dd9a874f7f94b693f27feebfcf81834deb596
Parent
2e8f1a9a15eceed…
1 file changed
+1
-4
+1
-4
| --- src/fossil.page.chat.js | ||
| +++ src/fossil.page.chat.js | ||
| @@ -1356,14 +1356,11 @@ | ||
| 1356 | 1356 | D.button(zUpArrow+' Load '+nMsgContext+' more '+zUpArrow), |
| 1357 | 1357 | 'down' |
| 1358 | 1358 | ), |
| 1359 | 1359 | all: D.addClass(D.button('Load More'), 'all') |
| 1360 | 1360 | }; |
| 1361 | - | |
| 1362 | - ; | |
| 1363 | 1361 | D.append( this.e.body, this.e.up, this.e.down, this.e.all ); |
| 1364 | - | |
| 1365 | 1362 | const ms = this; |
| 1366 | 1363 | this.e.up.addEventListener('click', ()=>ms.load_messages(false)); |
| 1367 | 1364 | this.e.down.addEventListener('click', ()=>ms.load_messages(true)); |
| 1368 | 1365 | this.e.all.addEventListener('click', ()=>ms.load_messages( (ms.o.iPrevId==0) )); |
| 1369 | 1366 | this.set_button_visibility(); |
| @@ -2374,11 +2371,11 @@ | ||
| 2374 | 2371 | exactly true when the search view is active). |
| 2375 | 2372 | |
| 2376 | 2373 | Returns the DOM element which wraps all of the chat search |
| 2377 | 2374 | result elements. |
| 2378 | 2375 | */ |
| 2379 | - Chat.clearSearch = function f(addInstructions=false){ | |
| 2376 | + Chat.clearSearch = function(addInstructions=false){ | |
| 2380 | 2377 | const e = D.clearElement( this.e.searchContent ); |
| 2381 | 2378 | if(addInstructions){ |
| 2382 | 2379 | D.append(e, "Enter search terms in the message field."); |
| 2383 | 2380 | } |
| 2384 | 2381 | return e; |
| 2385 | 2382 |
| --- src/fossil.page.chat.js | |
| +++ src/fossil.page.chat.js | |
| @@ -1356,14 +1356,11 @@ | |
| 1356 | D.button(zUpArrow+' Load '+nMsgContext+' more '+zUpArrow), |
| 1357 | 'down' |
| 1358 | ), |
| 1359 | all: D.addClass(D.button('Load More'), 'all') |
| 1360 | }; |
| 1361 | |
| 1362 | ; |
| 1363 | D.append( this.e.body, this.e.up, this.e.down, this.e.all ); |
| 1364 | |
| 1365 | const ms = this; |
| 1366 | this.e.up.addEventListener('click', ()=>ms.load_messages(false)); |
| 1367 | this.e.down.addEventListener('click', ()=>ms.load_messages(true)); |
| 1368 | this.e.all.addEventListener('click', ()=>ms.load_messages( (ms.o.iPrevId==0) )); |
| 1369 | this.set_button_visibility(); |
| @@ -2374,11 +2371,11 @@ | |
| 2374 | exactly true when the search view is active). |
| 2375 | |
| 2376 | Returns the DOM element which wraps all of the chat search |
| 2377 | result elements. |
| 2378 | */ |
| 2379 | Chat.clearSearch = function f(addInstructions=false){ |
| 2380 | const e = D.clearElement( this.e.searchContent ); |
| 2381 | if(addInstructions){ |
| 2382 | D.append(e, "Enter search terms in the message field."); |
| 2383 | } |
| 2384 | return e; |
| 2385 |
| --- src/fossil.page.chat.js | |
| +++ src/fossil.page.chat.js | |
| @@ -1356,14 +1356,11 @@ | |
| 1356 | D.button(zUpArrow+' Load '+nMsgContext+' more '+zUpArrow), |
| 1357 | 'down' |
| 1358 | ), |
| 1359 | all: D.addClass(D.button('Load More'), 'all') |
| 1360 | }; |
| 1361 | D.append( this.e.body, this.e.up, this.e.down, this.e.all ); |
| 1362 | const ms = this; |
| 1363 | this.e.up.addEventListener('click', ()=>ms.load_messages(false)); |
| 1364 | this.e.down.addEventListener('click', ()=>ms.load_messages(true)); |
| 1365 | this.e.all.addEventListener('click', ()=>ms.load_messages( (ms.o.iPrevId==0) )); |
| 1366 | this.set_button_visibility(); |
| @@ -2374,11 +2371,11 @@ | |
| 2371 | exactly true when the search view is active). |
| 2372 | |
| 2373 | Returns the DOM element which wraps all of the chat search |
| 2374 | result elements. |
| 2375 | */ |
| 2376 | Chat.clearSearch = function(addInstructions=false){ |
| 2377 | const e = D.clearElement( this.e.searchContent ); |
| 2378 | if(addInstructions){ |
| 2379 | D.append(e, "Enter search terms in the message field."); |
| 2380 | } |
| 2381 | return e; |
| 2382 |