diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-04-29 09:25:05 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-04-29 09:25:05 +0200 |
commit | ce7d494ae9f6516af82d597ed00e3cabd1a1ad55 (patch) | |
tree | 85f24598b241c69ace83a1e2acbba00f56755eb0 | |
parent | 2d54bc6823fd308d72b4d4dee5437c858d0c380b (diff) | |
download | fosdem-2018-presentation-ce7d494ae9f6516af82d597ed00e3cabd1a1ad55.tar fosdem-2018-presentation-ce7d494ae9f6516af82d597ed00e3cabd1a1ad55.tar.gz |
tweak formatting to match rest of slide
-rw-r--r-- | plugin/zoom-js/zoom.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/zoom-js/zoom.js b/plugin/zoom-js/zoom.js index efccad6..8738083 100644 --- a/plugin/zoom-js/zoom.js +++ b/plugin/zoom-js/zoom.js @@ -15,7 +15,7 @@ var originalDisplay = event.target.style.display; // Get the bounding rect of the contents, not the containing box - if (window.getComputedStyle(event.target).display === 'block') { + if( window.getComputedStyle( event.target ).display === 'block' ) { event.target.style.display = 'inline-block'; bounds = event.target.getBoundingClientRect(); event.target.style.display = originalDisplay; |