Przeglądaj źródła

tweak formatting to match rest of slide

Hakim El Hattab 8 lat temu
rodzic
commit
ce7d494ae9
1 zmienionych plików z 1 dodań i 1 usunięć
  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;