mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 03:58:07 +02:00
Cant use underscores outside class internals
This commit is contained in:
parent
f88ba7bc57
commit
a1892b351f
1 changed files with 5 additions and 5 deletions
|
@ -127,11 +127,11 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
function urlAppend(url) {
|
function urlAppend(url) {
|
||||||
var _url = decodeURIComponent(url)
|
var lurl = decodeURIComponent(url)
|
||||||
if (_url[_url.length - 1] !== "/")
|
if (lurl[lurl.length - 1] !== "/")
|
||||||
_url = _url + "/"
|
lurl = lurl + "/"
|
||||||
if (currentPage === -1 || pagesModel.get(currentPage).webUrl !== _url) {
|
if (currentPage === -1 || pagesModel.get(currentPage).webUrl !== lurl) {
|
||||||
pagesModel.append({webUrl: _url})
|
pagesModel.append({webUrl: lurl})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue