unfold: better management of static files thanks to finders for plugins and third...
[myslice.git] / plugins / lists / static / js / with-datatables.js
diff --git a/plugins/lists/static/js/with-datatables.js b/plugins/lists/static/js/with-datatables.js
new file mode 100644 (file)
index 0000000..75e4cc2
--- /dev/null
@@ -0,0 +1,2 @@
+/* elements with class 'with-datatables' are set to use datatables */
+$(document).ready(function() {$('.with-datatables').each(function() { $(this).dataTable() } ) } )