File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 57
57
} ) ;
58
58
59
59
60
- document . querySelectorAll ( ".table-v1" ) . forEach ( ( table ) => {
61
- table . style . display = isNewTheme ? "none" : "" ;
62
- } ) ;
60
+ const trustarc = document . getElementById ( "teconsent-v1" ) ;
61
+ if ( trustarc ) {
62
+ trustarc . id = isNewTheme ? "teconsent-v1" : "teconsent" ;
63
+ }
63
64
64
65
document . getElementById ( "body" ) . style . visibility = "visible" ;
65
66
} ;
Original file line number Diff line number Diff line change
1
+ < div data-mf ="false ">
1
2
{{ $htmlTable := .Inner | markdownify }}
2
3
{{ $class := .Get 0 }}
3
4
{{ $oldTable := "< table > " }}
4
- {{ $newTable := printf "< table class =\ "%s %s \"> " $class "table-v1" }}
5
+ {{ $newTable := printf "< table class =\ "%s\"> " $class }}
5
6
{{ $oldP := "< p > " }}
6
- {{ $newP := printf "< p class = \ "%s\" > " "table-v1 "}}
7
+ {{ $newP := printf "< p > "}}
7
8
{{ $htmlTable := replace $htmlTable $oldTable $newTable }}
8
9
{{ $htmlTable := replace $htmlTable $oldP $newP }}
9
10
{{ $htmlTable | safeHTML }}
11
+ </ div >
10
12
11
13
<!-- Add default option for table of "narrow" if one is not provided -->
12
14
{{ $narrowOption := "narrow" }}
You can’t perform that action at this time.
0 commit comments