Commit 5f0199fc899b8b7272ff4391862557bbc4d30b70
1 parent
315b9a71
script click active
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
frontend/web/js/script.js
@@ -104,5 +104,12 @@ $( | @@ -104,5 +104,12 @@ $( | ||
104 | } | 104 | } |
105 | ); | 105 | ); |
106 | } | 106 | } |
107 | + $(".active a") | ||
108 | + .on( | ||
109 | + 'click', function(){ | ||
110 | + $("#back-to-top").click(); | ||
111 | + return false; | ||
112 | + } | ||
113 | + ); | ||
107 | } | 114 | } |
108 | ); | 115 | ); |
109 | \ No newline at end of file | 116 | \ No newline at end of file |