Explorar o código

tweak formatting to match rest of slide

Hakim El Hattab %!s(int64=9) %!d(string=hai) anos
pai
achega
ce7d494ae9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;