Browse Source

dont show notes container when printing pdf

Hakim El Hattab 9 năm trước cách đây
mục cha
commit
5a40b4486f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -2473,7 +2473,7 @@
 	 */
 	function updateNotes() {
 
-		if( config.showNotes && dom.speakerNotes && currentSlide ) {
+		if( config.showNotes && dom.speakerNotes && currentSlide && !isPrintingPDF() ) {
 
 			var notes = '';