Remove 'Turbo' link from admin header. see #11301

git-svn-id: https://develop.svn.wordpress.org/trunk@13833 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-03-26 20:59:57 +00:00
parent 2ec8eace83
commit a383d24d57
4 changed files with 3 additions and 25 deletions
+1 -21
View File
@@ -300,24 +300,4 @@ jQuery(document).ready( function($) {
if ( this.lastKey && 9 == this.lastKey )
this.focus();
});
});
jQuery(document).ready( function($){
var turboNag = $('span.turbo-nag', '#user_info');
if ( !turboNag.length || ('undefined' != typeof(google) && google.gears) )
return;
if ( 'undefined' != typeof GearsFactory ) {
return;
} else {
try {
if ( ( 'undefined' != typeof window.ActiveXObject && ActiveXObject('Gears.Factory') ) ||
( 'undefined' != typeof navigator.mimeTypes && navigator.mimeTypes['application/x-googlegears'] ) ) {
return;
}
} catch(e){}
}
turboNag.show();
});
});