Skip to content

Commit c8f9a22

Browse files
authored
Use capital T for trident
1 parent c261723 commit c8f9a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.form.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
}
157157
// IE requires javascript:false in https, but this breaks chrome >83 and goes against spec.
158158
// Instead of using javascript:false always, let's only apply it for IE.
159-
isMsie = /(MSIE|trident)/.test(navigator.userAgent || '');
159+
isMsie = /(MSIE|Trident)/.test(navigator.userAgent || '');
160160
iframeSrc = (isMsie && /^https/i.test(window.location.href || '')) ? 'javascript:false' : 'about:blank'; // eslint-disable-line no-script-url
161161

162162
options = $.extend(true, {

0 commit comments

Comments
 (0)