Skip to content
This repository has been archived by the owner on May 30, 2021. It is now read-only.

Commit

Permalink
v1.6.13, implements #54
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobius1 committed Apr 16, 2018
1 parent 826a055 commit 5c75523
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A lightweight, extendable, dependency-free javascript HTML table plugin. Similar
* Extentable with custom plugins [See the wiki](https://github.com/Mobius1/Vanilla-DataTables/wiki/Plugins) (v1.6.0 and above)


[Documentation](https://github.com/Mobius1/Vanilla-DataTables/wiki) | [Latest Version](https://github.com/Mobius1/Vanilla-DataTables/releases/tag/1.6.12)
[Documentation](https://github.com/Mobius1/Vanilla-DataTables/wiki) | [Latest Version](https://github.com/Mobius1/Vanilla-DataTables/releases/tag/1.6.13)

---

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-datatables",
"version": "1.6.12",
"version": "1.6.13",
"main": "src/vanilla-dataTables.js",
"ignore": [
".gitattributes",
Expand Down
2 changes: 1 addition & 1 deletion dist/vanilla-dataTables.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/vanilla-dataTables.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-datatables",
"version": "1.6.12",
"version": "1.6.13",
"description": "A lightweight, dependency-free javascript HTML table plugin.",
"main": "src/vanilla-dataTables.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/vanilla-dataTables.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copyright (c) 2015-2017 Karl Saunders (http://mobius.ovh)
* Licensed under MIT (http://www.opensource.org/licenses/mit-license.php)
*
* Version: 1.6.12
* Version: 1.6.13
*
*/

Expand Down
6 changes: 5 additions & 1 deletion src/vanilla-dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copyright (c) 2015-2017 Karl Saunders (http://mobius.ovh)
* Licensed under MIT (http://www.opensource.org/licenses/mit-license.php)
*
* Version: 1.6.12
* Version: 1.6.13
*
*/
(function(root, factory) {
Expand Down Expand Up @@ -1667,6 +1667,8 @@
* @return {Void}
*/
proto.update = function () {
classList.remove(this.wrapper, "dataTable-empty");

this.paginate(this);
this.render("page");

Expand Down Expand Up @@ -2354,6 +2356,8 @@
colspan = this.data[0].cells.length;
}

classList.add(this.wrapper, "dataTable-empty");

this.clear(
createElement("tr", {
html: '<td class="dataTables-empty" colspan="' +
Expand Down

0 comments on commit 5c75523

Please sign in to comment.