Skip to content

Commit

Permalink
update to 5.0.0 and re-apply the patch for dropdown callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Rio committed Dec 17, 2013
2 parents b94418c + fdcc7ae commit fa89000
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions js/foundation/foundation.dropdown.js
Expand Up @@ -73,8 +73,12 @@

self.close.call(self, $('[data-dropdown-content]'));
})
.on('opened.fndtn.dropdown', '[data-dropdown-content]', this.settings.opened)
.on('closed.fndtn.dropdown', '[data-dropdown-content]', this.settings.closed);
.on('opened.fndtn.dropdown', '[data-dropdown-content]', function () {
self.settings.opened.call(this);
})
.on('closed.fndtn.dropdown', '[data-dropdown-content]', function () {
self.settings.closed.call(this);
});

$(window)
.off('.dropdown')
Expand Down

0 comments on commit fa89000

Please sign in to comment.