From 5ec3bea7dc3cda6e774a0ed1b5f0ac05aac023c7 Mon Sep 17 00:00:00 2001 From: panda-z Date: Sat, 18 Apr 2020 22:16:48 +0800 Subject: fix(js): add wrapper for all tables except highlighted code-blocks (#244) Closes #232 --- assets/js/even.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets') 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'); -- cgit v1.2.3