mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
ci: browser compatibility linting (#19132)
This commit is contained in:
parent
de756d9497
commit
e2dfbd66c3
11 changed files with 140 additions and 2 deletions
|
|
@ -300,8 +300,10 @@
|
|||
|
||||
const handleStopSlideshow = async () => {
|
||||
try {
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
if (document.fullscreenElement) {
|
||||
document.body.style.cursor = '';
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
await document.exitFullscreen();
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@
|
|||
canvas = new Canvas(canvasEl);
|
||||
configureControlStyle();
|
||||
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
faceRect = new Rect({
|
||||
fill: 'rgba(66,80,175,0.25)',
|
||||
stroke: 'rgb(66,80,175)',
|
||||
|
|
|
|||
|
|
@ -101,7 +101,9 @@
|
|||
};
|
||||
|
||||
const onShowSettings = async () => {
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
if (document.fullscreenElement) {
|
||||
// eslint-disable-next-line tscompat/tscompat
|
||||
await document.exitFullscreen();
|
||||
}
|
||||
await modalManager.show(SlideshowSettingsModal);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue