mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user