diff --git a/services/web/public/coffee/app/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/app/ide/pdf/controllers/PdfController.coffee index 28e278d870..2b6a303dc1 100644 --- a/services/web/public/coffee/app/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/app/ide/pdf/controllers/PdfController.coffee @@ -89,7 +89,7 @@ define [ rootDocDirname = ide.fileTreeManager.getRootDocDirname() if rootDocDirname? - path = path.replace(/^\.\//, rootDocDirname) + path = path.replace(/^\.\//, rootDocDirname + "/") return path