minor
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 9 Apr 2013 06:38:35 +0000 (08:38 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 9 Apr 2013 06:38:35 +0000 (08:38 +0200)
plugins/hazelnut/hazelnut.js

index f38488c..7afc726 100644 (file)
             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;