diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-06 18:07:53 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-06 18:07:53 +0200 |
commit | 18df44cc717d27b98690cef86de8bee4253330eb (patch) | |
tree | 2b4fcd4c4336900471326ccd440d905a04998939 /public/static/js/travelynx-actions.js | |
parent | 2ddab756440333fb42a9813df87b978a82e490d2 (diff) |
add loading indicator to nav
Diffstat (limited to 'public/static/js/travelynx-actions.js')
-rw-r--r-- | public/static/js/travelynx-actions.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js index da8243e..e7ac84c 100644 --- a/public/static/js/travelynx-actions.js +++ b/public/static/js/travelynx-actions.js @@ -110,4 +110,7 @@ $(document).ready(function() { if ($('.publicstatuscol .autorefresh').length) { setTimeout(tvly_update_public, 20000); } + $(window).on('beforeunload', function () { + $('nav .preloader-wrapper').addClass('active'); + }); }); |