diff options
author | linux-man <linux-man@hotmail.com> | 2017-05-21 19:49:07 +0100 |
---|---|---|
committer | linux-man <linux-man@hotmail.com> | 2017-05-21 19:49:07 +0100 |
commit | ce467b53bc44325424787858c59bb134ed53f8b6 (patch) | |
tree | f5e088d38b3246b9160a6197c11d3bd600af1111 /plugin | |
parent | 9c3a65744ccd45a0e1673b5a1ead6842b6b64f2e (diff) | |
download | perl-software-in-gnu-guix-ce467b53bc44325424787858c59bb134ed53f8b6.tar perl-software-in-gnu-guix-ce467b53bc44325424787858c59bb134ed53f8b6.tar.gz |
Remove comment
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/zoom-js/zoom.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/zoom-js/zoom.js b/plugin/zoom-js/zoom.js index 41fd15d..9e8629f 100644 --- a/plugin/zoom-js/zoom.js +++ b/plugin/zoom-js/zoom.js @@ -3,14 +3,14 @@ var isEnabled = true; document.querySelector( '.reveal .slides' ).addEventListener( 'mousedown', function( event ) { - var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'ctrl' ) + 'Key';//cl + var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'ctrl' ) + 'Key'; var zoomLevel = ( Reveal.getConfig().zoomLevel ? Reveal.getConfig().zoomLevel : 2 ); if( event[ modifier ] && isEnabled ) { event.preventDefault(); zoom.to({ - x: event.clientX - window.innerWidth / (zoomLevel * 2),//cl + x: event.clientX - window.innerWidth / (zoomLevel * 2), y: event.clientY - window.innerHeight / (zoomLevel * 2), width: window.innerWidth / zoomLevel, height: window.innerHeight / zoomLevel, |