$( document ).ready(function() {
// Get the theme URL
var url;
if ($('meta[name=pluginURL]').attr("content")) {
url = $('meta[name=pluginURL]').attr("content");
} else {
// If for some reason we can't find the URL attribute
url = "/user/plugins/air66Theme";
}
// Detect login page
if ($("body").hasClass("login")) {
$("#login").prepend('');
}
// Remove the YOURLS header
$("header[role=banner]").hide();
$("header[role=banner]").remove();
// remove help link in nav
$('#admin_menu_help_link').remove();
$('#admin_menu').append('
" + $(this).html() + "
"); $(this).remove(); } else if (/Powered by/.test($(this).text())) { // Update footer var content = $(this).html(); var i = 77 var updated_content = "Running on" + content.slice(13, i) + '& Air 66 Design Ltd' + content.slice(i-1) $(this).html(updated_content); } }); // wrap div around data tabs so can scroll on small screens $('#stat_tab_stats, #stat_tab_location, #stat_tab_sources, #stat_tab_share').wrapAll(''); // remove help link in nav $('#admin_menu_help_link').remove(); // add header function function a66_add_header_content() { $('.site-header').append(''); } });// end document.ready