fix(js): add wrapper for all tables except highlighted code-blocks (#244)

Closes #232
This commit is contained in:
panda-z 2020-04-18 22:16:48 +08:00 committed by GitHub
parent 8cb3fec414
commit 5ec3bea7dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');