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:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-01-30 08:12:31 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-01-30 08:12:31 +0300
commite7a7438fe0cf11632a44292fb00fa4e0b2a22a33 (patch)
treefeaeb42bc18e4d1335ab07a2e4f0a8f6cdfbdb4e /static
parentd727b3c8cba36077973965fdc329a61baadf2278 (diff)
Fix table rendering issue.
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