diff --git a/airtime_mvc/public/css/images/airtime_logo_med.png b/airtime_mvc/public/css/images/airtime_logo_med.png new file mode 100644 index 000000000..a635547b4 Binary files /dev/null and b/airtime_mvc/public/css/images/airtime_logo_med.png differ diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css index bb286dfe8..7a4095d43 100644 --- a/airtime_mvc/public/css/styles.css +++ b/airtime_mvc/public/css/styles.css @@ -71,11 +71,11 @@ fieldset { position: absolute; float: left; - background: transparent url(images/airtime_logo.png) no-repeat 0 0; - height: 35px; - width: 66px; - left: 35px; - top: 32px; + background: transparent url(images/airtime_logo_med.png) no-repeat 0 0; + height: 46px; + width: 120px; + left: 5px; + top: 26px; /*margin: 25px 5px 0 10px;*/ /*margin-top: -5px;*/ } diff --git a/airtime_mvc/public/js/airtime/library/_library.js b/airtime_mvc/public/js/airtime/library/_library.js index cd7bc48e4..3c557f248 100644 --- a/airtime_mvc/public/js/airtime/library/_library.js +++ b/airtime_mvc/public/js/airtime/library/_library.js @@ -1297,11 +1297,18 @@ $(document).ready(function() { } $("a[href$='"+location.hash+"']").parent().addClass("selected"); + // Slightly hacky way of triggering the click event when it's outside of the anchor text + $(".media_type_selector").on("click", function() { + // Need get(0) here so we don't create a stack overflow by recurring the click on the parent + $(this).find("a").get(0).click(); + }); + $(window).on('hashchange', function() { // If we click Dashboard from one of the media views, do nothing if (!location.hash) { return; } + AIRTIME.library.selectNone(); $(".media_type_selector").each(function () { $(this).removeClass("selected"); });