Explorar o código

move speaker notes into page container when printing pdf

Hakim El Hattab %!s(int64=8) %!d(string=hai) anos
pai
achega
8d4cb810d6
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      js/reveal.js

+ 3 - 3
js/reveal.js

@@ -649,10 +649,10 @@
 							page.parentNode.insertBefore( notesElement, page.nextSibling );
 						}
 						else {
-							notesElement.style.left = ( notesSpacing - left ) + 'px';
-							notesElement.style.bottom = ( notesSpacing - top ) + 'px';
+							notesElement.style.left = notesSpacing + 'px';
+							notesElement.style.bottom = notesSpacing + 'px';
 							notesElement.style.width = ( pageWidth - notesSpacing*2 ) + 'px';
-							slide.appendChild( notesElement );
+							page.appendChild( notesElement );
 						}
 
 					}