Skip to content

Commit

Permalink
alt+zoom only works on slide content #1151
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Mar 25, 2015
1 parent 7baa8ec commit 60457d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/zoom-js/zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(function(){
var isEnabled = true;

document.querySelector( '.reveal' ).addEventListener( 'mousedown', function( event ) {
document.querySelector( '.reveal .slides' ).addEventListener( 'mousedown', function( event ) {
var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'alt' ) + 'Key';

var zoomPadding = 20;
Expand Down

0 comments on commit 60457d2

Please sign in to comment.