We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dda553 + f7618b1 commit 844f9aaCopy full SHA for 844f9aa
.gitignore
@@ -1,3 +1,4 @@
1
node_modules/
2
temp/
3
index.html
4
+.vscode
static/search.js
@@ -508,11 +508,11 @@ var Search = Control.extend({
508
pathPrefix: (self.options.pathPrefix === '.') ? '' : '/' + self.options.pathPrefix + '/'
509
},{
510
docUrl: function(){
511
- if(!docObject.pathToRoot){
+ if(!self.options.pathPrefix){
512
return this.url;
513
}
514
515
- var root = joinURIs(window.location.href, docObject.pathToRoot);
+ var root = joinURIs(window.location.href, self.options.pathPrefix);
516
if(root.substr(-1) === "/"){
517
root = root.substr(0, root.length-1);
518
0 commit comments