From 99e25cacfe6f7a30dd2406d368bed12bcde9acc3 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 14 Jan 2016 09:43:55 +0000 Subject: [PATCH] Fix - API: `sum()` method example had incorrect usage of `table().footer()` --- api/sum().js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/sum().js b/api/sum().js index 91b994c..856ebd6 100644 --- a/api/sum().js +++ b/api/sum().js @@ -29,7 +29,7 @@ * $('#example').DataTable( { * drawCallback: function () { * var api = this.api(); - * api.table().footer().to$().html( + * $( api.table().footer() ).html( * api.column( 4, {page:'current'} ).data().sum() * ); * }