From: Thierry Parmentelat Date: Tue, 9 Apr 2013 06:38:35 +0000 (+0200) Subject: minor X-Git-Tag: myslice-0.2-1~172 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=680ff6149e53a67338fb5e9772fbc583227b6d71;p=unfold.git minor --- diff --git a/plugins/hazelnut/hazelnut.js b/plugins/hazelnut/hazelnut.js index f38488c5..7afc726b 100644 --- a/plugins/hazelnut/hazelnut.js +++ b/plugins/hazelnut/hazelnut.js @@ -40,11 +40,11 @@ return this.each(function() { var $this = $(this); /* Events */ - $(this).on('show.Datatables', methods.show); + $this.on('show.Datatables', methods.show); /* An object that will hold private variables and methods */ var hazelnut = new Hazelnut (options); - $(this).data('Hazelnut', hazelnut); + $this.data('Hazelnut', hazelnut); var query_channel = '/query/' + options.query_uuid + '/changed'; var update_channel = '/update-set/' + options.query_uuid;