diff --git a/src/js/components/PlaybackControls.js b/src/js/components/PlaybackControls.js index f526742e..aa5d0fae 100755 --- a/src/js/components/PlaybackControls.js +++ b/src/js/components/PlaybackControls.js @@ -11,6 +11,7 @@ import Dater from './Dater' import ArtistSentence from './ArtistSentence' import Thumbnail from './Thumbnail' +import * as uiActions from '../services/ui/actions' import * as mopidyActions from '../services/mopidy/actions' class PlaybackControls extends React.Component{ @@ -51,6 +52,11 @@ class PlaybackControls extends React.Component{ return button; } + handleThumbnailClick(e){ + e.preventDefault(); + this.props.uiActions.openModal('kiosk_mode') + } + render(){ var images = [] if (this.props.current_track && this.props.current_track.album && this.props.current_track.album.images){ @@ -61,7 +67,9 @@ class PlaybackControls extends React.Component{