mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +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) {
|
||||
var _url = decodeURIComponent(url)
|
||||
if (_url[_url.length - 1] !== "/")
|
||||
_url = _url + "/"
|
||||
if (currentPage === -1 || pagesModel.get(currentPage).webUrl !== _url) {
|
||||
pagesModel.append({webUrl: _url})
|
||||
var lurl = decodeURIComponent(url)
|
||||
if (lurl[lurl.length - 1] !== "/")
|
||||
lurl = lurl + "/"
|
||||
if (currentPage === -1 || pagesModel.get(currentPage).webUrl !== lurl) {
|
||||
pagesModel.append({webUrl: lurl})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue