Skip to content

Commit

Permalink
classlist fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adamschwartz committed Sep 16, 2015
1 parent 6977b95 commit 474648e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

Array.prototype.forEach.call(document.querySelectorAll('table'), function(table){
table.setAttribute('data-sortable', '');
table.add('sortable-theme-' + options.theme);
table.classList.add('sortable-theme-' + options.theme);
});
})();

0 comments on commit 474648e

Please sign in to comment.