summaryrefslogtreecommitdiff
path: root/public/static/js/travelynx-actions.js
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-05-07 17:56:40 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-05-07 17:56:40 +0200
commit76bd6763df24b0002a2f7a89de3fe8fcbb9d95e0 (patch)
tree1ab082a593e46002b724d79fe874baa9f9b25629 /public/static/js/travelynx-actions.js
parentbd676674e9ada084e914edc4b67fef63cc110901 (diff)
only show loading animation on links without custom animation1.1.7
Diffstat (limited to 'public/static/js/travelynx-actions.js')
-rw-r--r--public/static/js/travelynx-actions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/static/js/travelynx-actions.js b/public/static/js/travelynx-actions.js
index e7ac84c..2dcca46 100644
--- a/public/static/js/travelynx-actions.js
+++ b/public/static/js/travelynx-actions.js
@@ -110,7 +110,7 @@ $(document).ready(function() {
if ($('.publicstatuscol .autorefresh').length) {
setTimeout(tvly_update_public, 20000);
}
- $(window).on('beforeunload', function () {
+ $('a[href]').click(function() {
$('nav .preloader-wrapper').addClass('active');
});
});