mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04:00
Fix path normalization
This commit is contained in:
parent
11d951f021
commit
96696e745e
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ define [
|
||||||
|
|
||||||
rootDocDirname = ide.fileTreeManager.getRootDocDirname()
|
rootDocDirname = ide.fileTreeManager.getRootDocDirname()
|
||||||
if rootDocDirname?
|
if rootDocDirname?
|
||||||
path = path.replace(/^\.\//, rootDocDirname)
|
path = path.replace(/^\.\//, rootDocDirname + "/")
|
||||||
|
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue