File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
cve_bin_tool/output_engine/html_reports Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,6 @@ function analysisShadowToggle(ele) {
18
18
ele . classList . toggle ( 'shadow-lg' )
19
19
}
20
20
21
- function resizeGraph ( ele ) {
22
- setTimeout ( ( ) => {
23
- let modalId = ele . getAttribute ( 'data-bs-target' ) . substr ( 1 )
24
- eval ( document . getElementById ( modalId ) . querySelector ( 'script' ) . innerHTML )
25
- } , 240 )
26
- }
27
-
28
21
function modeInteractive ( ) {
29
22
var div_interactive = document . getElementById ( 'interactive_mode' )
30
23
var div_print = document . getElementById ( 'print_mode' )
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ <h5 class="fw-light p-t-5">Paths of Scanned Files</h5>
176
176
< li class ="list-group-item ">
177
177
< h5 class ="fw-normal "> {{path}}</ h5 >
178
178
{% for product in all_paths[path]%}
179
- < a id ="vendorProductPill " onclick =" resizeGraph(this) " data-bs-toggle ="modal " data-bs-target ="#modal{{ product }} ">
179
+ < a id ="vendorProductPill " data-bs-toggle ="modal " data-bs-target ="#modal{{ product }} ">
180
180
< span class ="badge rounded-pill bg-info "> {{product}}</ span >
181
181
</ a >
182
182
{% endfor %}
Original file line number Diff line number Diff line change 1
- < a onclick =" resizeGraph(this) " class ="list-group-item list-group-item-action " data-bs-toggle ="modal "
1
+ < a class ="list-group-item list-group-item-action " data-bs-toggle ="modal "
2
2
data-bs-target ="#modal{{ fix_id }} " remarks ="{{remarks}} ">
3
3
4
4
< div class ="row ">
You can’t perform that action at this time.
0 commit comments