aboutsummaryrefslogtreecommitdiff
path: root/plugin/zoom-js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-03-25 13:57:00 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-03-25 13:57:00 +0100
commit60457d21b437b66f6bab41ed0ae99391b3946376 (patch)
treef1bb21dfb2b5a193cf90d9ea2eacd81be39bfcdd /plugin/zoom-js
parent7baa8ec1fe2cd0d09ee6c034e6ebd7a07ee317c4 (diff)
downloadfreenode-live-2017-presentation-60457d21b437b66f6bab41ed0ae99391b3946376.tar
freenode-live-2017-presentation-60457d21b437b66f6bab41ed0ae99391b3946376.tar.gz
alt+zoom only works on slide content #1151
Diffstat (limited to 'plugin/zoom-js')
-rw-r--r--plugin/zoom-js/zoom.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/zoom-js/zoom.js b/plugin/zoom-js/zoom.js
index da2c10a..95093e0 100644
--- a/plugin/zoom-js/zoom.js
+++ b/plugin/zoom-js/zoom.js
@@ -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;