1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove unused data-dom-cache attribute

This commit is contained in:
grafixeyehero 2022-09-02 21:30:35 +03:00
parent 76eff104d8
commit 328afb0db8
2 changed files with 0 additions and 4 deletions

View file

@ -9,7 +9,6 @@ type PageProps = {
isMenuButtonEnabled?: boolean,
isNowPlayingBarEnabled?: boolean,
isThemeMediaSupported?: boolean,
isDomCacheEnabled?: boolean,
backDropType?: string
};
@ -26,7 +25,6 @@ const Page: FunctionComponent<PageProps & HTMLAttributes<HTMLDivElement>> = ({
isMenuButtonEnabled = false,
isNowPlayingBarEnabled = true,
isThemeMediaSupported = false,
isDomCacheEnabled = false,
backDropType
}) => {
const element = useRef<HTMLDivElement>(null);
@ -67,7 +65,6 @@ const Page: FunctionComponent<PageProps & HTMLAttributes<HTMLDivElement>> = ({
data-title={title}
data-backbutton={isBackButtonEnabled}
data-menubutton={isMenuButtonEnabled}
data-dom-cache={isDomCacheEnabled}
data-backdroptype={backDropType}
>
{children}

View file

@ -160,7 +160,6 @@ const Home: FunctionComponent<IProps> = (props: IProps) => {
<Page
id='indexPage'
className='mainAnimatedPage homePage libraryPage allLibraryPage backdropPage pageWithAbsoluteTabs withTabs'
isDomCacheEnabled= {true}
backDropType='movie,series,book'
>
<div className='tabContent pageTabContent' id='homeTab' data-index='0'>