浏览代码

dont show notes container when printing pdf

Hakim El Hattab 9 年之前
父节点
当前提交
5a40b4486f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

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