Skip to content

Commit 63fe5f8

Browse files
committed
Pass the arguments tot he trigger events
1 parent 8fd42ed commit 63fe5f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page-foundation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ $.ajaxSetup({
8282
$.each(['show', 'hide', 'toggle', 'addClass', 'removeClass'], function (i, ev) {
8383
var el = $.fn[ev];
8484
$.fn[ev] = function () {
85-
this.trigger('before:'+ev);
85+
this.trigger('before:'+ev, [arguments]);
8686
var result = el.apply(this, arguments);
87-
this.trigger('after:'+ev);
87+
this.trigger('after:'+ev, [arguments]);
8888
return result;
8989
};
9090
});

0 commit comments

Comments
 (0)