alt+zoom only works on slide content #1151

edit
Hakim El Hattab 2015-03-25 13:57:00 +01:00
parent 7baa8ec1fe
commit 60457d21b4
1 changed files with 1 additions and 1 deletions

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;