mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-11 13:28:40 +00:00
minor bug fixes
This commit is contained in:
parent
f9c9fd9bb0
commit
14ade88362
|
|
@ -1,4 +0,0 @@
|
|||
[Dolphin]
|
||||
PreviewsShown=true
|
||||
Timestamp=2021,1,22,19,34,58
|
||||
Version=4
|
||||
|
|
@ -844,6 +844,9 @@ const PDFViewerApplication = {
|
|||
await this.close();
|
||||
}
|
||||
|
||||
file = file.replaceAll('+', ' ');
|
||||
file = file.replaceAll('#', '%23');
|
||||
|
||||
const workerParameters = _app_options.AppOptions.getAll(_app_options.OptionKind.WORKER);
|
||||
|
||||
for (const key in workerParameters) {
|
||||
|
|
@ -2896,7 +2899,7 @@ function getOutputScale(ctx) {
|
|||
}
|
||||
|
||||
function scrollIntoView(element, spot, skipOverflowHiddenElements = false) {
|
||||
let parent = element.offsetParent;
|
||||
let parent = element.offsetParent === null ? document.body : element.offsetParent;
|
||||
|
||||
if (!parent) {
|
||||
console.error("offsetParent is not set -- cannot scroll");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user