yeti_theme-8.x-1.x-dev/js/components/top-bar.js
js/components/top-bar.js
'use strict';
// noConfilct mode.
(function ($, Drupal) {
// Create a new Drupal Behavior to attach on the document.ready().
Drupal.behaviors.yeti_topbar = {
attach: function attach(context, settings) {
$('#local-tasks').foundation();
$('#local-tasks-responsive').foundation();
$('#menubar-responsive').foundation();
$('#menubar').foundation();
}
};
})(jQuery, Drupal);