Skip to content

Commit f6c7a31

Browse files
tomasklapkadmitrizagidulin
authored andcommitted
databrowser - removed url slicing before going to subject
1 parent 4cbf969 commit f6c7a31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/databrowser.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
UI.authn.checkUser()
1818
.then(function () {
1919
var uri = window.location.href
20-
var dataUri = window.document.title = uri.slice(0, uri.lastIndexOf('/')+1) + ''
21-
var subject = UI.rdf.sym(dataUri)
20+
window.document.title = uri
21+
var subject = UI.rdf.namedNode(uri)
2222
UI.outline.GotoSubject(subject, true, undefined, true, undefined)
2323
})
2424
})

0 commit comments

Comments
 (0)