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

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobius1 committed Mar 2, 2017
1 parent 2e77113 commit 2dac70f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
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.0.1",
"version": "1.0.2",
"ignore": [
".gitattributes",
"README.md"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanilla-datatables",
"version": "1.0.1",
"version": "1.0.2",
"description": "A lightweight, dependency-free javascript HTML table plugin.",
"main": "vanilla-dataTables.min.js",
"scripts": {
Expand All @@ -23,7 +23,7 @@
"homepage": "https://github.com/Mobius1/Vanilla-DataTables#readme",
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-qunit": "^1.3.0" ,
"grunt-contrib-qunit": "^1.3.0" ,
"qunit": "~0.5.15",
"grunt-contrib-jshint": "^1.0.0",
"qunitjs": "^2.0.1",
Expand Down
5 changes: 4 additions & 1 deletion 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://mobiuswebdesign.co.uk)
* Licensed under MIT (http://www.opensource.org/licenses/mit-license.php)
*
* Version: 1.0.1
* Version: 1.0.2
*
*/

Expand Down Expand Up @@ -241,6 +241,7 @@
// Fixed height
if (_.options.fixedHeight) {
fixHeight.call(_);
util.addClass(_.table, 'fixed-height');
}

/* Fixed column widths */
Expand All @@ -252,6 +253,8 @@
var w = (rect.width / _.rect.width) * 100;
cell.style.width = w + '%';
});

util.addClass(_.table, 'fixed-columns');
}

};
Expand Down
Loading

0 comments on commit 2dac70f

Please sign in to comment.