1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-13 01:54:21 +02:00

4.6.1, remove log

This commit is contained in:
Hakim El Hattab
2023-09-13 12:23:36 +02:00
parent 487cc860f8
commit a4b7f9dff7
4 changed files with 3 additions and 5 deletions

View File

@@ -194,8 +194,6 @@ const Plugin = {
var startTop = block.scrollTop;
var targetTop = highlightBounds.top + ( Math.min( highlightBounds.bottom - highlightBounds.top, viewportHeight ) - viewportHeight ) / 2;
console.log(startTop, targetTop)
// Account for offsets in position applied to the
// <table> that holds our lines of code
var lineTable = block.querySelector( '.hljs-ln' );