alt+zoom only works on slide content #1151

This commit is contained in:
Hakim El Hattab 2015-03-25 13:57:00 +01:00
parent 7baa8ec1fe
commit 60457d21b4

View File

@ -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;