User:Phlsph7/Readability.js: Difference between revisions

Content deleted Content added
float
flex
Line 158:
let totalGradeLevel = getFleschKincaidGradeLevel(totalSyllableCount, totalWordCount, totalSentenceCount);
const mainDifmainDiv = document.getElementById('mw-content-text');
const overviewDifoverviewDiv = document.createElement('div');
mainDifmainDiv.insertBefore(overviewDifoverviewDiv, mainDif.firstChild);
overviewDif.appendChild(const tableDiv = document.createElement('brdiv'));
insertOverviewTable(overviewDif);
overviewDiv.appendChild(tableDiv);
insertKeyTable(overviewDif);
tableDiv.style.display = 'flex';
overviewDif.appendChild(document.createElement('br'));
insertOverviewTable(overviewDiftableDiv);
insertSentenceTable(overviewDif);
insertKeyTable(overviewDiftableDiv);
//overviewDiv.appendChild(document.createElement('br'));
insertSentenceTable(overviewDifoverviewDiv);
function insertOverviewTable(parent){