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