Explore by Topic
diff --git a/static/js/analyticsEventTracker.js b/static/js/analyticsEventTracker.js
index 5e0a43b925..3a4b622043 100644
--- a/static/js/analyticsEventTracker.js
+++ b/static/js/analyticsEventTracker.js
@@ -3,7 +3,7 @@ const AnalyticsEventTracker = (function() {
'project', 'panel_type', 'panel_number', 'item_id', 'version', 'content_lang',
'content_id', 'content_type', 'panel_name', 'panel_category', 'position', 'ai',
'text', 'experiment', 'feature_name', 'from', 'to', 'action', 'engagement_value',
- 'engagement_type', 'logged_in', 'site_lang', 'traffic_type', 'promotion_name'
+ 'engagement_type', 'logged_in', 'site_lang', 'traffic_type', 'promotion_name', 'link_type',
]);
const EVENT_ATTR = 'data-anl-event';
const FIELD_ATTR_PREFIX = 'data-anl-';
diff --git a/static/js/sefaria/sefaria.js b/static/js/sefaria/sefaria.js
index aae230fedd..520fde8d89 100644
--- a/static/js/sefaria/sefaria.js
+++ b/static/js/sefaria/sefaria.js
@@ -2785,8 +2785,8 @@ _media: {},
this._topicTocCategory = this.topic_toc.reduce(this._initTopicTocCategoryReducer, {});
},
_initTopicTocCategoryReducer: function(a,c) {
+ a[c.slug] = c.parents;
if (!c.children) {
- a[c.slug] = c.parents;
return a;
}
if (!c.parents) {