commit 5efebf4ded00235fd6c745558e9aa83b7b7804dc Author: air66 Date: Wed Jul 24 18:16:32 2019 +0100 initial commit diff --git a/app/js/script.js b/app/js/script.js new file mode 100644 index 0000000..598f986 --- /dev/null +++ b/app/js/script.js @@ -0,0 +1,103 @@ +$( 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('
  • Contact Air 66 Design
  • '); + + // Add New A66 header + $("body").prepend($('