This commit is contained in:
Shane Kilkelly 2016-03-22 10:32:44 +00:00
parent 4f3755318f
commit 293cb3c73e

View file

@ -64,7 +64,7 @@ define [
else if response.status == "too-recently-compiled"
$scope.pdf.view = 'errors'
$scope.pdf.tooRecentlyCompiled = true
else if response.status == "success "
else if response.status == "success"
$scope.pdf.view = 'pdf'
# define the base url
$scope.pdf.url = "/project/#{$scope.project_id}/output/output.pdf?cache_bust=#{Date.now()}"