Removed log

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-01-21 13:10:21 +01:00
parent da09362f99
commit 97c5058f00
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 0 additions and 1 deletions

View File

@ -128,7 +128,6 @@ export default class TextualBody extends React.Component {
/* Calculate how many percent does the pre element take up. /* Calculate how many percent does the pre element take up.
* If it's less than 30% we don't add the expansion button. */ * If it's less than 30% we don't add the expansion button. */
const percentageOfViewport = pre.offsetHeight / window.innerHeight * 100; const percentageOfViewport = pre.offsetHeight / window.innerHeight * 100;
console.log("expansionButtonExists", percentageOfViewport);
if (percentageOfViewport < 30) return; if (percentageOfViewport < 30) return;
const button = document.createElement("span"); const button = document.createElement("span");