mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 20:14:37 -04:00
Fixes broken links in custom headers/footers. Updates default options.
This commit is contained in:
parent
ecf91b506e
commit
1a8ef62188
2 changed files with 8 additions and 4 deletions
|
@ -15,20 +15,24 @@
|
||||||
|
|
||||||
rootAbsHref: "/",
|
rootAbsHref: "/",
|
||||||
h5aiAbsHref: "/_h5ai/",
|
h5aiAbsHref: "/_h5ai/",
|
||||||
customHeader: "_h5ai.header.html",
|
|
||||||
customFooter: "_h5ai.footer.html",
|
customHeader: null,
|
||||||
|
customFooter: null,
|
||||||
|
|
||||||
viewmodes: ["details", "icons"],
|
viewmodes: ["details", "icons"],
|
||||||
sortorder: "na",
|
sortorder: "na",
|
||||||
showTree: true,
|
showTree: true,
|
||||||
slideTree: true,
|
slideTree: true,
|
||||||
folderStatus: {},
|
folderStatus: {},
|
||||||
lang: null,
|
lang: "en",
|
||||||
useBrowserLang: true,
|
useBrowserLang: true,
|
||||||
setParentFolderLabels: true,
|
setParentFolderLabels: true,
|
||||||
linkHoverStates: true,
|
linkHoverStates: true,
|
||||||
dateFormat: "yyyy-MM-dd HH:mm",
|
dateFormat: "yyyy-MM-dd HH:mm",
|
||||||
|
|
||||||
showThumbs: false,
|
showThumbs: false,
|
||||||
|
thumbTypes: ["bmp", "gif", "ico", "image", "jpg", "png", "tiff"],
|
||||||
|
|
||||||
zippedDownload: false
|
zippedDownload: false
|
||||||
},
|
},
|
||||||
settings = $.extend({}, defaults, config.options),
|
settings = $.extend({}, defaults, config.options),
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
.appendTo($("#navbar"));
|
.appendTo($("#navbar"));
|
||||||
|
|
||||||
$("body>nav,body>footer,#tree").on("mousedown", noSelection);
|
$("body>nav,body>footer,#tree").on("mousedown", noSelection);
|
||||||
$("#extended").on("mousedown", "a", noSelectionUnlessCtrl);
|
$("#content").on("mousedown", "a", noSelectionUnlessCtrl);
|
||||||
$document.on("mousedown", selectionStart);
|
$document.on("mousedown", selectionStart);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue