Skip to content

Commit 66ba716

Browse files
committed
Merge pull request #24 from profuel/patch-1
This will correctly update default and required settings on init.
2 parents 88ba2f8 + 866bcf4 commit 66ba716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/iframeheight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ Details: http://github.com/Sly777/Iframe-Height-Jquery-Plugin
303303
$.iframeHeightExternal = function (){
304304
if(arguments.length === 1) {
305305
if($.isPlainObject(arguments[0])) {
306-
iframeOptions = arguments[0];
306+
iframeOptions = $.extend({}, $.iframeHeight.defaultOptions, arguments[0]);
307307
}
308308
}
309309

0 commit comments

Comments
 (0)