Wrap this thing in JQuery
This commit is contained in:
parent
5e12cdc9a6
commit
97fa994536
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
||||||
// @TODO Or, best, write a text formatter that does the below and assigns the
|
// @TODO Or, best, write a text formatter that does the below and assigns the
|
||||||
// appropriate class, for example .embed-responsive-4by3
|
// appropriate class, for example .embed-responsive-4by3
|
||||||
|
|
||||||
|
(function ($) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
// Find all iframes
|
// Find all iframes
|
||||||
var $iframes = $( "iframe" );
|
var $iframes = $( "iframe" );
|
||||||
|
|
||||||
|
@ -25,3 +28,5 @@ $( window ).resize( function () {
|
||||||
});
|
});
|
||||||
// Resize to fix all iframes on page load.
|
// Resize to fix all iframes on page load.
|
||||||
}).resize();
|
}).resize();
|
||||||
|
|
||||||
|
})(jQuery);
|
||||||
|
|
Loading…
Add table
Reference in a new issue