Fix for IE 11
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 30 Nov 2018 21:24:55 +0000 (16:24 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 30 Nov 2018 21:24:55 +0000 (16:24 -0500)
Cannot use ES6 style.

glm-member-db-events/views/front/events/agenda.html
style.css

index 65bb929..4aa013b 100644 (file)
@@ -8,7 +8,7 @@
         <a data-text="Ongoing Events" class="button events-sort-tab" href="{$siteBaseUrl}/events?category=23#glm-member-event-search" id="ongoing-events-btn">Ongoing Events</a>
         <div id="event-tab-title"></div>
     </div>
-    
+
     <div id="glm-event-agenda-view" class="row">
         <div class="small-12 columns">
             {foreach $eventsByDate as $date => $key}
@@ -16,7 +16,7 @@
                     <div class="small-12 columns">
                             <div class="agenda-date">{$date|date_format:"%A"} {$date|date_format:"%B"} {$date|date_format:"%e"} </div>
                         <!-- <div class="glm-event-cal">
-                            
+
                             <div class="glm-event-cal-month">{$date|date_format:"%b"}</div>
                             <div class="glm-event-cal-day-container">
                                 <span class="glm-event-cal-day">{$date|date_format:"%e"}</span>
                                         {if $event.locations}
                                             <div class="glm-agenda-city">Location: {$event.locations.name}</div>
                                         {/if}
-               
+
                                         {$event.intro}
 
                                     </div>
             window.location = $(this).data('url');
         });
 
-        
+
         if(localStorage.getItem('tabText') ){
             $("#event-tab-title").append(
                 $('<span />', {
             )
         }
         if(localStorage.getItem('activeClass') ){
-            $({literal}`#${localStorage.getItem('activeClass')}`{/literal}).addClass("active")
+            $( '#' + localStorage.getItem('activeClass') ).addClass("active")
         }else{
             $("#upcoming-events-btn").addClass("active");
         }
             $(this).addClass("active");
             $(this).siblings().removeClass("active");
             localStorage.setItem('activeClass', $(this).attr("id"))
-           
+
             $("#event-tab-title").empty();
             let tabText = $(this).data("text");
             tabText = "Viewing " + tabText;
             localStorage.setItem("tabText", tabText);
-            
+
             $("#event-tab-title").append(
                 $('<span />', {
                     text: tabText
index ee40084..23888c1 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: PetoskeyArea
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for PetoskeyArea
-Version: 1.0.69
-*/
\ No newline at end of file
+Version: 1.0.70
+*/