diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-07-14 21:05:07 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-07-14 21:05:07 +0200 |
commit | f01f108f94f53846268188d8e9a63ad36613bcab (patch) | |
tree | 72bb9d30c1a87acf27dabab9658db2ab865f7ac1 /public | |
parent | 7a34f64eba2aec25c4493910963783aeb4c4a8c7 (diff) |
increased click area for checkin
Diffstat (limited to 'public')
-rw-r--r-- | public/static/js/travelynx-actions.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js index 7558e69..a1fa685 100644 --- a/public/static/js/travelynx-actions.js +++ b/public/static/js/travelynx-actions.js @@ -65,7 +65,13 @@ function odelay(sched, rt) { function tvly_run(link, req, err_callback) { var error_icon = '<i class="material-icons">error</i>'; - var progressbar = $('<div class="progress"><div class="indeterminate"></div></div>'); + var progressbar; + if (link.data('tr')) { + progressbar = $('<tr><td colspan="' + link.data('tr') + '"><div class="progress"><div class="indeterminate"></div></div></td></tr>'); + } + else { + progressbar = $('<div class="progress"><div class="indeterminate"></div></div>'); + } link.hide(); link.after(progressbar); $.post('/action', req, function(data) { |