Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit c302c9319d19d72318c6c1bdbf6cada0e386c217 1 parent d297bd2
@durin42 durin42 authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.