Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function ($, Drupal) {
- 'use strict';
- Drupal.behaviors.xxx = {
- attach: function(context, settings) {
- console.log('attach');
- $('.sidr', context).once ('xxx', function () {
- console.log('once');
- });
- }
- };
- }(jQuery, Drupal));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement