소스 검색

tweak formatting to match rest of slide

Hakim El Hattab 9 년 전
부모
커밋
ce7d494ae9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      plugin/zoom-js/zoom.js

+ 1 - 1
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;