##// END OF EJS Templates
Merge pull request #4322 from damianavila/scrollup...
Matthias Bussonnier -
r12888:fd1d6480 merge
parent child Browse files
Show More
@@ -36,10 +36,11 b' document.write( \'<link rel="stylesheet" href="{{resources.reveal.url_prefix}}/cs'
36 36
37 37 <style type="text/css">
38 38 /* Overrides of notebook CSS for static HTML export */
39 html {
40 overflow-y: auto;
41 }
39 42 .reveal {
40 43 font-size: 20px;
41 overflow-y: auto;
42 overflow-x: hidden;
43 44 }
44 45 .reveal pre {
45 46 width: 95%;
@@ -157,7 +158,8 b' window.onload = function () {'
157 158
158 159 <script>
159 160 Reveal.addEventListener( 'slidechanged', function( event ) {
160 MathJax.Hub.Rerender(event.currentSlide);
161 window.scrollTo(0,0);
162 MathJax.Hub.Rerender(event.currentSlide);
161 163 });
162 164 </script>
163 165
General Comments 0
You need to be logged in to leave comments. Login now