diff options
author | panda-z <panda.hust@gmail.com> | 2020-04-18 22:16:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 22:16:48 +0800 |
commit | 5ec3bea7dc3cda6e774a0ed1b5f0ac05aac023c7 (patch) | |
tree | a1e31c5ae7f1486f08cd6f2d85f025e0653a1a78 /assets/js | |
parent | 8cb3fec4140727f7140196b2b36cf764061cf20f (diff) |
fix(js): add wrapper for all tables except highlighted code-blocks (#244)
Closes #232
Diffstat (limited to 'assets/js')
-rw-r--r-- | assets/js/even.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/even.js b/assets/js/even.js index 5cb63ca..7fe78c4 100644 --- a/assets/js/even.js +++ b/assets/js/even.js @@ -267,7 +267,7 @@ Even.sequence = function() { }; Even.responsiveTable = function() { - const tables = document.querySelectorAll('.post-content > table'); + const tables = document.querySelectorAll('.post-content table:not(.lntable)'); for (let i = 0; i < tables.length; i++) { const table = tables[i]; const wrapper = document.createElement('div'); |