From 5a40b4486f46b18aa640046595fc592cbb1a5735 Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Wed, 9 Sep 2015 14:31:27 +0200
Subject: [PATCH] dont show notes container when printing pdf

---
 js/reveal.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/reveal.js b/js/reveal.js
index a19e486..83c180b 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2473,7 +2473,7 @@
 	 */
 	function updateNotes() {
 
-		if( config.showNotes && dom.speakerNotes && currentSlide ) {
+		if( config.showNotes && dom.speakerNotes && currentSlide && !isPrintingPDF() ) {
 
 			var notes = '';
 
-- 
GitLab