Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/js/table.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/static/js/table.js b/static/js/table.js
new file mode 100644
index 0000000..6d8605d
--- /dev/null
+++ b/static/js/table.js
@@ -0,0 +1,9 @@
+$().ready(function(){
+ var elems = $("table");
+ elems.each(function(idx){
+ $(this).addClass('table-striped');
+ $(this).addClass('table');
+ $(this).addClass('table-responsive');
+ $(this).addClass('table-hover');
+ });
+}); \ No newline at end of file