Skip to content

Commit 844fe76

Browse files
authored
Update default iframeSrc to be 'about:blank' in all cases
1 parent 7a76ea3 commit 844fe76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
url : url,
160160
success : $.ajaxSettings.success,
161161
type : method || $.ajaxSettings.type,
162-
iframeSrc : /^https/i.test(window.location.href || '') ? 'javascript:false' : 'about:blank' // eslint-disable-line no-script-url
162+
iframeSrc : 'about:blank'
163163
}, options);
164164

165165
// hook for manipulating the form data before it is extracted;

0 commit comments

Comments
 (0)