X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fhazelnut%2Fhazelnut.js;h=7afc726bb45e568357a00e5e0aa4f225469de59e;hb=680ff6149e53a67338fb5e9772fbc583227b6d71;hp=f38488c5cd081c9d74042452f986db3c04f7d360;hpb=a306cc3564fe7e359f1b4b6057d3711141f7f821;p=myslice.git 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;