Fossil SCM
In the diff chunk loader, remove stray calls to the JS code which was removed in [61fd1e841fd].
Commit
ac965480d4d8b9b3071a95adc990c56eeecdc2a2e28517c79c696d76e9bb81c7
Parent
61fd1e841fda0b8…
1 file changed
-3
-3
| --- src/fossil.diff.js | ||
| +++ src/fossil.diff.js | ||
| @@ -400,11 +400,10 @@ | ||
| 400 | 400 | if(joinTr){ |
| 401 | 401 | content.push(trNext.querySelector(selector).innerHTML); |
| 402 | 402 | } |
| 403 | 403 | td.innerHTML = content.join(''); |
| 404 | 404 | if(joinTr) D.remove(joinTr); |
| 405 | - Diff.checkTableWidth(true); | |
| 406 | 405 | this.destroy(); |
| 407 | 406 | return this; |
| 408 | 407 | }else if(this.FetchType.PrevDown===fetchType){ |
| 409 | 408 | /* Append context to previous TR. */ |
| 410 | 409 | // RHS line numbers... |
| @@ -429,11 +428,10 @@ | ||
| 429 | 428 | this.destroy(); |
| 430 | 429 | }else{ |
| 431 | 430 | this.maybeReplaceButtons(); |
| 432 | 431 | this.updatePosDebug(); |
| 433 | 432 | } |
| 434 | - Diff.checkTableWidth(true); | |
| 435 | 433 | return this; |
| 436 | 434 | }else if(this.FetchType.NextUp===fetchType){ |
| 437 | 435 | /* Prepend content to next TR. */ |
| 438 | 436 | // RHS line numbers... |
| 439 | 437 | if(doAppend){ |
| @@ -458,11 +456,10 @@ | ||
| 458 | 456 | this.destroy(); |
| 459 | 457 | }else{ |
| 460 | 458 | this.maybeReplaceButtons(); |
| 461 | 459 | this.updatePosDebug(); |
| 462 | 460 | } |
| 463 | - Diff.checkTableWidth(true); | |
| 464 | 461 | return this; |
| 465 | 462 | }else{ |
| 466 | 463 | throw new Error("Unexpected 'fetchType' value."); |
| 467 | 464 | } |
| 468 | 465 | }, |
| 469 | 466 |
| --- src/fossil.diff.js | |
| +++ src/fossil.diff.js | |
| @@ -400,11 +400,10 @@ | |
| 400 | if(joinTr){ |
| 401 | content.push(trNext.querySelector(selector).innerHTML); |
| 402 | } |
| 403 | td.innerHTML = content.join(''); |
| 404 | if(joinTr) D.remove(joinTr); |
| 405 | Diff.checkTableWidth(true); |
| 406 | this.destroy(); |
| 407 | return this; |
| 408 | }else if(this.FetchType.PrevDown===fetchType){ |
| 409 | /* Append context to previous TR. */ |
| 410 | // RHS line numbers... |
| @@ -429,11 +428,10 @@ | |
| 429 | this.destroy(); |
| 430 | }else{ |
| 431 | this.maybeReplaceButtons(); |
| 432 | this.updatePosDebug(); |
| 433 | } |
| 434 | Diff.checkTableWidth(true); |
| 435 | return this; |
| 436 | }else if(this.FetchType.NextUp===fetchType){ |
| 437 | /* Prepend content to next TR. */ |
| 438 | // RHS line numbers... |
| 439 | if(doAppend){ |
| @@ -458,11 +456,10 @@ | |
| 458 | this.destroy(); |
| 459 | }else{ |
| 460 | this.maybeReplaceButtons(); |
| 461 | this.updatePosDebug(); |
| 462 | } |
| 463 | Diff.checkTableWidth(true); |
| 464 | return this; |
| 465 | }else{ |
| 466 | throw new Error("Unexpected 'fetchType' value."); |
| 467 | } |
| 468 | }, |
| 469 |
| --- src/fossil.diff.js | |
| +++ src/fossil.diff.js | |
| @@ -400,11 +400,10 @@ | |
| 400 | if(joinTr){ |
| 401 | content.push(trNext.querySelector(selector).innerHTML); |
| 402 | } |
| 403 | td.innerHTML = content.join(''); |
| 404 | if(joinTr) D.remove(joinTr); |
| 405 | this.destroy(); |
| 406 | return this; |
| 407 | }else if(this.FetchType.PrevDown===fetchType){ |
| 408 | /* Append context to previous TR. */ |
| 409 | // RHS line numbers... |
| @@ -429,11 +428,10 @@ | |
| 428 | this.destroy(); |
| 429 | }else{ |
| 430 | this.maybeReplaceButtons(); |
| 431 | this.updatePosDebug(); |
| 432 | } |
| 433 | return this; |
| 434 | }else if(this.FetchType.NextUp===fetchType){ |
| 435 | /* Prepend content to next TR. */ |
| 436 | // RHS line numbers... |
| 437 | if(doAppend){ |
| @@ -458,11 +456,10 @@ | |
| 456 | this.destroy(); |
| 457 | }else{ |
| 458 | this.maybeReplaceButtons(); |
| 459 | this.updatePosDebug(); |
| 460 | } |
| 461 | return this; |
| 462 | }else{ |
| 463 | throw new Error("Unexpected 'fetchType' value."); |
| 464 | } |
| 465 | }, |
| 466 |