peceful/js/foundation_init.js

18 lines
317 B
JavaScript
Raw Normal View History

/**
* @file
* Initializes foundation's JavaScript.
*
*/
(function ($, Drupal) {
/**
* Initializes foundation's JavaScript for new content added to the page.
*/
Drupal.behaviors.foundationInit = {
attach: function (context, settings) {
$(context).foundation();
}
};
})(jQuery, Drupal);