Skip to content
This repository
Browse code

More reliable next slide preview on presenter view

  • Loading branch information...
commit d507b4d42fee698ea75635233e9a9ee376a73706 1 parent acbd503
Lea Verou authored

Showing 2 changed files with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +2 2 slideshow.css
  2. +2 2 slideshow.js
4 slideshow.css
@@ -117,7 +117,7 @@
117 117 }
118 118
119 119 .show-thumbnails .slide,
120   -.presenter .slide:target + .slide {
  120 +.presenter .slide.next {
121 121 width: 1024px;
122 122 height: 768px;
123 123
@@ -314,7 +314,7 @@
314 314 box-shadow: .1em .1em .3em rgba(0,0,0,.5) inset;
315 315 }
316 316
317   -.presenter .slide:target + .slide {
  317 +.presenter .slide.next {
318 318 position: fixed;
319 319 top: auto;
320 320 right: 0;
4 slideshow.js
@@ -159,8 +159,8 @@ var self = window.SlideShow = function(container, slide) {
159 159 break;
160 160 case 80: // P
161 161 // Open new window for attendee view
162   - me.projector = window.open(location, 'projector', 'menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes');
163   -
  162 + me.projector = open(location, 'projector');
  163 +
164 164 // Get the focus back
165 165 window.focus();
166 166

0 comments on commit d507b4d

Please sign in to comment.
Something went wrong with that request. Please try again.