Skip to content
Browse files

presenter view: respect starting slide from URL

We didn't correctly pass the hash fragment of the location to the
spawned slides window, which caused the presenter view to always start
at slide 1, even if it was refreshed during slide development
someplace else in the slide deck. This corrects that defect.
  • Loading branch information...
1 parent d297bd2 commit c302c9319d19d72318c6c1bdbf6cada0e386c217 @durin42 durin42 committed Mar 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/js/presenter.js
View
2 public/js/presenter.js
@@ -2,7 +2,7 @@
var w = null;
$(function(){
- w = window.open('/' + window.location.search);
+ w = window.open('/' + window.location.search + window.location.hash);
// Give the slide window a handle to the presenter view window.
// This will let either window be made fullscreen and

0 comments on commit c302c93

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