Bug Tracker

Changeset 4194

Show
Ignore:
Timestamp:
12/17/07 00:51:59 (1 year ago)
Author:
davidserduke
Message:

Added code to remove the script tag on successful jsonp calls.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/ajax.js

    r4193 r4194  
    193193                window[ jsonp ] = undefined; 
    194194                try{ delete window[ jsonp ]; } catch(e){} 
     195                if ( head ) 
     196                    head.removeChild( script ); 
    195197            }; 
    196198        }