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);