mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-07-31 02:20:18 +02:00
Fixes broken links in custom headers/footers. Updates default options.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user