fine tune collapsing limit

This commit is contained in:
Nicolas Constant 2020-04-21 20:00:49 -04:00
parent de0c7b1761
commit 8b202696b5
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export class DatabindedTextComponent implements OnInit {
let parser = new DOMParser(); let parser = new DOMParser();
var dom = parser.parseFromString(value, 'text/html') var dom = parser.parseFromString(value, 'text/html')
this.isCollapsed = [...dom.body.textContent].length > 500; this.isCollapsed = [...dom.body.textContent].length > 600;
this.processedText = ''; this.processedText = '';