Skip to content

Commit

Permalink
Switched to pj-tab-ignore instead of pj-ignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPalasek committed Jul 12, 2022
1 parent a4fbaa6 commit 92a68c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pretty_jupyter/templates/pj/static/pj.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ $(document).ready(function () {
// custom post-processing: remove some ugly styles etc
$(document).ready(function () {
// prettify tables (that aren't ignored)
$("table:not(.pj-ignore)").addClass("table");
$("table:not(.pj-ignore)").addClass("table-striped");
$("table.dataframe:not(.pj-ignore)").removeAttr("border");
$("table:not(.pj-tab-ignore)").addClass("table");
$("table:not(.pj-tab-ignore)").addClass("table-striped");
$("table.dataframe:not(.pj-tab-ignore)").removeAttr("border");

// remove useless anchor with useless anchor-link
$("a.anchor-link").remove();
Expand Down

0 comments on commit 92a68c4

Please sign in to comment.