diff --git a/renderer/index.js b/renderer/index.js index 89c63a6b..7a86a1ac 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -85,7 +85,6 @@ function init () { }) document.addEventListener('keydown', function (e) { - console.log('keydown ' + e.which) if (e.which === 27) { /* ESC means either exit fullscreen or go back */ if (state.view.isFullScreen) { dispatch('toggleFullScreen') diff --git a/renderer/views/player.js b/renderer/views/player.js index abf9d186..e16fba64 100644 --- a/renderer/views/player.js +++ b/renderer/views/player.js @@ -30,7 +30,7 @@ function Player (state, dispatch) {
@@ -79,7 +79,6 @@ function renderPlayerControls (state, dispatch) { if (state.view.devices.chromecast) { elements.push(hx` dispatch('openChromecast', torrent)}> cast @@ -88,7 +87,6 @@ function renderPlayerControls (state, dispatch) { if (state.view.devices.airplay) { elements.push(hx` dispatch('openAirplay', torrent)}> airplay @@ -96,7 +94,7 @@ function renderPlayerControls (state, dispatch) { } // On OSX, the back button is in the title bar of the window; see app.js // On other platforms, we render one over the video on mouseover - if(process.platform !== 'darwin') { + if (process.platform !== 'darwin') { elements.push(hx` dispatch('back')}>