瀏覽代碼

whitespace

Hakim El Hattab 5 年之前
父節點
當前提交
9712cc9ad6
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      js/reveal.js

+ 3 - 0
js/reveal.js

@@ -1765,13 +1765,16 @@
 			// Change the .stretch element height to 0 in order find the height of all
 			// the other elements
 			element.style.height = '0px';
+
 			// In Overview mode, the parent (.slide) height is set of 700px.
 			// Restore it temporarily to its natural height.
 			element.parentNode.style.height = 'auto';
+
 			newHeight = height - element.parentNode.offsetHeight;
 
 			// Restore the old height, just in case
 			element.style.height = oldHeight + 'px';
+
 			// Clear the parent (.slide) height. .removeProperty works in IE9+
 			element.parentNode.style.removeProperty('height');