We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 553c566 commit 059d072Copy full SHA for 059d072
2 files changed
install.json
@@ -9,11 +9,11 @@
9
"body": [
10
{
11
"type": "script",
12
- "src": "./js/sortable.js"
+ "src": "./js/install.js"
13
},
14
15
16
- "src": "./js/install.js"
+ "src": "./js/sortable.js"
17
}
18
]
19
@@ -39,9 +39,6 @@
39
"finder": "Finder"
40
41
"default": "minimal"
42
- },
43
- "": {
44
-
45
46
47
js/install.js
@@ -1,6 +1,8 @@
1
(function(){
2
+ var options = INSTALL_OPTIONS;
3
+
4
Array.prototype.forEach.call(document.querySelectorAll('table'), function(table){
- tables.setAttribute('data-sortable');
- tables.add('sortable-theme-' + INSTALL_OPTIONS.theme);
5
+ table.setAttribute('data-sortable');
6
+ table.add('sortable-theme-' + options.theme);
7
});
8
})();
0 commit comments