From fdf0f76df2dd4f42d6186d276230c45ce1c428c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Sat, 31 Aug 2019 09:30:34 -0400 Subject: [PATCH] Commit compiled JavaScript --- web/themes/custom/geofresco/dist/js/responsive-iframes.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/themes/custom/geofresco/dist/js/responsive-iframes.js b/web/themes/custom/geofresco/dist/js/responsive-iframes.js index 6443dca..7b27b84 100644 --- a/web/themes/custom/geofresco/dist/js/responsive-iframes.js +++ b/web/themes/custom/geofresco/dist/js/responsive-iframes.js @@ -4,6 +4,9 @@ // @TODO Or, best, write a text formatter that does the below and assigns the // appropriate class, for example .embed-responsive-4by3 +(function ($) { + 'use strict'; + // Find all iframes var $iframes = $( "iframe" ); @@ -25,3 +28,5 @@ $( window ).resize( function () { }); // Resize to fix all iframes on page load. }).resize(); + +})(jQuery);