tweak formatting to match rest of slide
This commit is contained in:
parent
2d54bc6823
commit
ce7d494ae9
|
@ -15,7 +15,7 @@
|
||||||
var originalDisplay = event.target.style.display;
|
var originalDisplay = event.target.style.display;
|
||||||
|
|
||||||
// Get the bounding rect of the contents, not the containing box
|
// 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';
|
event.target.style.display = 'inline-block';
|
||||||
bounds = event.target.getBoundingClientRect();
|
bounds = event.target.getBoundingClientRect();
|
||||||
event.target.style.display = originalDisplay;
|
event.target.style.display = originalDisplay;
|
||||||
|
|
Loading…
Reference in New Issue