diff --git a/core/modules/tour/js/tour.js b/core/modules/tour/js/tour.js index 7e87417..6bab273 100644 --- a/core/modules/tour/js/tour.js +++ b/core/modules/tour/js/tour.js @@ -14,7 +14,7 @@ Drupal.behaviors.tour = { attach: function (context) { $('body').once('tour', function (index, element) { var model = new Drupal.tour.models.StateModel(); - var view = new Drupal.tour.views.ToggleTourView({ + new Drupal.tour.views.ToggleTourView({ el: $(context).find('#toolbar-tab-tour'), model: model });