diff --git a/src/js/components/paging/FooTable.Paging.js b/src/js/components/paging/FooTable.Paging.js index f9ebcbb0..cd124110 100644 --- a/src/js/components/paging/FooTable.Paging.js +++ b/src/js/components/paging/FooTable.Paging.js @@ -425,7 +425,7 @@ * Gets or sets the current page size. * @instance * @param {(number|string)} [value] - The new page size to use, this value is supplied to `parseInt` so strings can be used. If not supplied or an invalid valid the current page size is returned. - * @returns {(number|undefined)} + * @returns {(number|jQuery.Promise)} */ pageSize: function(value){ value = parseInt(value); @@ -442,7 +442,7 @@ } } this.$create(); - this.ft.draw(); + return this.ft.draw(); }, /* PRIVATE */