Removing events.css from the calendar page
authorLaury GvR <laury@gaslightmedia.com>
Tue, 29 Jul 2014 13:53:15 +0000 (09:53 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 29 Jul 2014 13:53:15 +0000 (09:53 -0400)
A light work-around to get events.css (from app.gaslightmedia.com) to be
removed from the event calendar (-10) page, like 1140.css, using jquery.

static/10.phtml

index 7da1b08..e871097 100755 (executable)
@@ -1,5 +1,6 @@
 <script>
     $('link[rel=stylesheet][href$="app.gaslightmedia.com/response/V0/css/1140.css"]').remove();
+    $('link[rel=stylesheet][href$="app.gaslightmedia.com/Common/EventCalendar_V0/css/events.css"]').remove();
 </script>
 <?php
 if (defined('COMMON_EVENTS') && COMMON_EVENTS) {