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

improve comments for tv layout css

This commit is contained in:
dkanada 2019-09-11 15:35:37 -07:00
parent 54ca2e9381
commit c2a0de8202

View file

@ -26,10 +26,10 @@ define(['browser', 'dom', 'layoutManager', 'shell', 'appRouter', 'apphost', 'css
}
this.classList.add('emby-button');
// TODO replace all instances of element-showfocus with this method
if (layoutManager.tv) {
// handles all special css for tv layout
// the old method was element-showfocus
// this method utilizes class chaining instead
// this method utilizes class chaining
this.classList.add('show-focus');
}
};