diff --git a/src/controllers/itemDetails/index.js b/src/controllers/itemDetails/index.js index 1bb3079f9d..f1b069e0ea 100644 --- a/src/controllers/itemDetails/index.js +++ b/src/controllers/itemDetails/index.js @@ -13,7 +13,6 @@ import listView from '../../components/listview/listview'; import itemContextMenu from '../../components/itemContextMenu'; import itemHelper from '../../components/itemHelper'; import dom from '../../scripts/dom'; -import indicators from '../../components/indicators/indicators'; import imageLoader from '../../components/images/imageLoader'; import libraryMenu from '../../scripts/libraryMenu'; import globalize from '../../scripts/globalize'; @@ -839,18 +838,6 @@ function renderImage(page, item) { ); } -function refreshDetailImageUserData(elem, item) { - const container = elem.querySelector('.detailImageProgressContainer'); - - if (container) { - container.innerHTML = indicators.getProgressBarHtml(item); - } -} - -function refreshImage(page, item) { - refreshDetailImageUserData(page.querySelector('.detailImageContainer'), item); -} - function setPeopleHeader(page, item) { if (item.MediaType == 'Audio' || item.Type == 'MusicAlbum' || item.MediaType == 'Book' || item.MediaType == 'Photo') { page.querySelector('#peopleHeader').innerHTML = globalize.translate('People'); @@ -2056,7 +2043,6 @@ export default function (view, params) { if (userData) { currentItem.UserData = userData; reloadPlayButtons(view, currentItem); - refreshImage(view, currentItem); autoFocus(view); } }