Skip to content

Commit 474648e

Browse files
committed
classlist fix
1 parent 6977b95 commit 474648e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

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

0 commit comments

Comments
 (0)