Use only the boolean interface for the present query string.

pull/1945/head
Hunter Trujillo 2017-09-02 00:36:08 -06:00
parent 791cecd067
commit f59fc76657
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export default function resizeLayout() {
const qs = queryString.parse(window.location.search)
if (typeof qs.present !== 'undefined') {
if (qs.present === 'true') {
next(enablePresentationMode())
next(action)
}