aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-06-21 14:21:42 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-06-21 14:21:42 +0200
commit8d4cb810d641be085aee365ad83cd59b7c974cfd (patch)
tree3c5e2189893a1650327fbea51a13bc455b9e0fee /js
parenta12a17b2d7053fad006ae9914309e8fb56c44329 (diff)
downloadfreenode-live-2017-presentation-8d4cb810d641be085aee365ad83cd59b7c974cfd.tar
freenode-live-2017-presentation-8d4cb810d641be085aee365ad83cd59b7c974cfd.tar.gz
move speaker notes into page container when printing pdf
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/reveal.js b/js/reveal.js
index d8cc4fc..e544e13 100644
--- a/js/reveal.js
+++ b/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 );
}
}