aboutsummaryrefslogtreecommitdiff
path: root/plugin/zoom-js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-04-29 09:25:05 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-04-29 09:25:05 +0200
commitce7d494ae9f6516af82d597ed00e3cabd1a1ad55 (patch)
tree85f24598b241c69ace83a1e2acbba00f56755eb0 /plugin/zoom-js
parent2d54bc6823fd308d72b4d4dee5437c858d0c380b (diff)
downloadfosdem-2018-presentation-ce7d494ae9f6516af82d597ed00e3cabd1a1ad55.tar
fosdem-2018-presentation-ce7d494ae9f6516af82d597ed00e3cabd1a1ad55.tar.gz
tweak formatting to match rest of slide
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 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;