diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-10-21 16:27:32 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-10-21 16:27:32 +0200 |
commit | 95cbc500ae6841ff552a7b299c127c0754fb3a23 (patch) | |
tree | 33079214873c668bff2633f05cc969f7e8107bb0 /public/static/js/travelynx-actions.js | |
parent | f791a1ee6c52b94f6a8894362c683a33c9437bb9 (diff) |
Minify JS
Diffstat (limited to 'public/static/js/travelynx-actions.js')
-rw-r--r-- | public/static/js/travelynx-actions.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js index 91953a6..70c5d39 100644 --- a/public/static/js/travelynx-actions.js +++ b/public/static/js/travelynx-actions.js @@ -1,4 +1,4 @@ -function travelynx_run_action(link, req, redir, err_callback) { +function tvly_run(link, req, redir, err_callback) { var error_icon = '<i class="material-icons">error</i>'; var progressbar = $('<div class="progress"><div class="indeterminate"></div></div>'); link.hide(); @@ -25,7 +25,7 @@ $(document).ready(function() { station: link.data('station'), train: link.data('train'), }; - travelynx_run_action(link, req, '/'); + tvly_run(link, req, '/'); }); $('.action-checkout').click(function() { var link = $(this); @@ -34,7 +34,7 @@ $(document).ready(function() { station: link.data('station'), force: link.data('force'), }; - travelynx_run_action(link, req, '/' + req.station, function() { + tvly_run(link, req, '/' + req.station, function() { link.append(' – Keine Echtzeitdaten vorhanden') link.data('force', true); }); |