Skip to content

Commit

Permalink
Use alias
Browse files Browse the repository at this point in the history
  • Loading branch information
freeall committed Apr 6, 2015
1 parent 142135d commit 2a88efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ on($('#controls-timeline'), 'click', function (e) {
media.time(time)
})

document.addEventListener('keydown', function(e) {
on(document, 'keydown', function(e) {
if (e.keyCode === 27 && isFullscreen) return onfullscreentoggle()
$('#controls-playlist').click()
})
Expand Down

0 comments on commit 2a88efb

Please sign in to comment.