From 720e1c00edd9834b61042efcab4783a3907bee4b Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 10 Oct 2015 11:46:50 -0400 Subject: [PATCH] Update app.ejs The default streamDirection from localStorage comes back as `null`, not `undefined` --- app/app.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.ejs b/app/app.ejs index b7accfa..864c46a 100644 --- a/app/app.ejs +++ b/app/app.ejs @@ -259,7 +259,7 @@ angular }) $localForage.getItem('streamDirection').then(function (streamDirection) { - ctrl.streamDirection = undefined === streamDirection ? true : streamDirection + ctrl.streamDirection = undefined === streamDirection || streamDirection === null ? true : streamDirection }) /*!