2013 Javascript Window Location Href Not Working Sharepoint Stack

2013 Javascript Window Location Href Not Working Sharepoint Stack