File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 122122 } ) ;
123123 form . remove ( ) ;
124124 iframe . one ( "load" , function ( ) { iframe . remove ( ) ; } ) ;
125- iframe . attr ( "src" , "javascript:false; " ) ;
125+ iframe . attr ( "src" , "about:blank " ) ;
126126 }
127127
128128 // Remove "iframe" from the data types list so that further processing is
190190 // The `send` function is called by jQuery when the request should be
191191 // sent.
192192 send : function ( headers , completeCallback ) {
193- iframe = $ ( "<iframe src='javascript:false; ' name='" + name +
193+ iframe = $ ( "<iframe src='about:blank ' name='" + name +
194194 "' id='" + name + "' style='display:none'></iframe>" ) ;
195195
196196 // The first load event gets fired after the iframe has been injected
235235 // aborted.
236236 abort : function ( ) {
237237 if ( iframe !== null ) {
238- iframe . unbind ( "load" ) . attr ( "src" , "javascript:false; " ) ;
238+ iframe . unbind ( "load" ) . attr ( "src" , "about:blank " ) ;
239239 cleanUp ( ) ;
240240 }
241241 }
You can’t perform that action at this time.
0 commit comments