mirror of
https://github.com/vladmandic/automatic
synced 2026-09-04 20:10:45 +02:00
browser to server logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+3
-3
@@ -28,7 +28,7 @@ function clip_gallery_urls(gallery) {
|
||||
const files = gallery.map((v) => v.data);
|
||||
navigator.clipboard.writeText(JSON.stringify(files)).then(
|
||||
() => log('clipboard:', files),
|
||||
(err) => console.error('clipboard:', files, err),
|
||||
(err) => error(`clipboard: ${files} ${err}`),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -493,9 +493,9 @@ function previewTheme() {
|
||||
el.src = `/file=html/${name}.jpg`;
|
||||
}
|
||||
})
|
||||
.catch((e) => console.error('previewTheme:', e));
|
||||
.catch((e) => error(`previewTheme: ${e}`));
|
||||
})
|
||||
.catch((e) => console.error('previewTheme:', e));
|
||||
.catch((e) => error(`previewTheme: ${e}`));
|
||||
}
|
||||
|
||||
async function browseFolder() {
|
||||
|
||||
Reference in New Issue
Block a user