Add asciidoc tables to striped table hack

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/8af36c9d
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/8af36c9d
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/8af36c9d

Branch: refs/heads/master
Commit: 8af36c9d10a1bd17f1267f2d2f198c5bcf66f052
Parents: 1b85a52
Author: Matt Sicker <boa...@gmail.com>
Authored: Fri Apr 6 17:19:18 2018 -0500
Committer: Matt Sicker <boa...@gmail.com>
Committed: Fri Apr 6 17:19:18 2018 -0500

----------------------------------------------------------------------
 src/site/resources/js/site.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/8af36c9d/src/site/resources/js/site.js
----------------------------------------------------------------------
diff --git a/src/site/resources/js/site.js b/src/site/resources/js/site.js
index 50bff12..902a0dd 100644
--- a/src/site/resources/js/site.js
+++ b/src/site/resources/js/site.js
@@ -61,7 +61,7 @@ $(document).ready(function() {
        
        // Hack to add default visuals to tables
        $('table').each(function() {
-               if ($(this).hasClass('bodyTable')) {
+               if ($(this).hasClass('bodyTable') || 
$(this).hasClass('tableblock')) {
                        
                        // Remove border="1" which is added by maven
                        this.border = 0;

Reply via email to