mirror of https://github.com/ColorlibHQ/AdminLTE
fixed lint errors
parent
5aca6b1082
commit
2458b90417
|
@ -2,7 +2,7 @@ function convertPathToHtml(path) {
|
||||||
let htmlpath = ''
|
let htmlpath = ''
|
||||||
while (path.startsWith('../')) {
|
while (path.startsWith('../')) {
|
||||||
path = path.slice(3)
|
path = path.slice(3)
|
||||||
htmlpath.length < 2 ? htmlpath += '.' : htmlpath += '/..'
|
htmlpath += htmlpath.length < 2 ? '.' : '/..'
|
||||||
}
|
}
|
||||||
|
|
||||||
return htmlpath
|
return htmlpath
|
||||||
|
|
Loading…
Reference in New Issue