From d20eb20f301b2722f47e02399ac16214e6790fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 10 Oct 2019 02:00:18 -0400 Subject: [PATCH] Format code comments --- .../custom/geofresco/src/global/js/responsive-iframes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/geofresco/src/global/js/responsive-iframes.js b/web/themes/custom/geofresco/src/global/js/responsive-iframes.js index 6c5b5fb..d28ba1d 100644 --- a/web/themes/custom/geofresco/src/global/js/responsive-iframes.js +++ b/web/themes/custom/geofresco/src/global/js/responsive-iframes.js @@ -13,7 +13,7 @@ // Find and save the aspect ratio for all iframes $iframes.each(function () { $( this ).data( "ratio", this.height / this.width ) - // Remove the hardcoded width & height attributes + // Remove the hardcoded width and height attributes .removeAttr( "width" ) .removeAttr( "height" ); }); @@ -21,7 +21,7 @@ // Resize the iframes when the window is resized $( window ).resize( function () { $iframes.each( function() { - // Get the parent container's width + // Get the parent container's width var width = $( this ).parent().width(); $( this ).width( width ) .height( width * $( this ).data( "ratio" ) );