mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-15 15:35:52 +00:00
Fix row selection in bootstrap
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
"orderable": false
|
||||
}]
|
||||
});
|
||||
// Check if row is selected
|
||||
$('#file-table tbody').on('click', 'tr', function () {
|
||||
if ($(this).hasClass('{{ selected }}')) {
|
||||
$(this).removeClass('{{ selected }}');
|
||||
|
@@ -8,6 +8,7 @@
|
||||
style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;"
|
||||
onclick="showFile(\''%}
|
||||
{% set button_post = '\')">View</button>' %}
|
||||
{% set selected = "selected" %}
|
||||
{% else %}
|
||||
{% set button_class = "button is-primary is-small" %}
|
||||
{% set h1_class = "title is-1 has-text-centered" %}
|
||||
|
Reference in New Issue
Block a user