1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,37 @@ |
1 |
+/** |
|
2 |
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
3 |
+ * |
|
4 |
+ * @author Double Bastion LLC |
|
5 |
+ * |
|
6 |
+ * @license GNU AGPL version 3 or any later version |
|
7 |
+ * |
|
8 |
+ * This program is free software; you can redistribute it and/or |
|
9 |
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
10 |
+ * License as published by the Free Software Foundation; either |
|
11 |
+ * version 3 of the License, or any later version. |
|
12 |
+ * |
|
13 |
+ * This program is distributed in the hope that it will be useful, |
|
14 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
17 |
+ * |
|
18 |
+ * You should have received a copy of the GNU Affero General Public |
|
19 |
+ * License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
20 |
+ * |
|
21 |
+ */ |
|
22 |
+ |
|
23 |
+$(document).ready(function() { |
|
24 |
+ |
|
25 |
+$("#app-content").scroll(function() { |
|
26 |
+ if($(this).scrollTop() > 900) { |
|
27 |
+ $('#upArrow').fadeIn(); |
|
28 |
+ } else{ |
|
29 |
+ $('#upArrow').fadeOut(); |
|
30 |
+ } |
|
31 |
+ }); |
|
32 |
+ |
|
33 |
+ $("#upArrow").click(function() { |
|
34 |
+ $("#app-content").animate({scrollTop : 0},400); |
|
35 |
+ }); |
|
36 |
+ |
|
37 |
+}); |
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,37 +0,0 @@ |
1 |
-/** |
|
2 |
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
3 |
- * |
|
4 |
- * @author Double Bastion LLC |
|
5 |
- * |
|
6 |
- * @license GNU AGPL version 3 or any later version |
|
7 |
- * |
|
8 |
- * This program is free software; you can redistribute it and/or |
|
9 |
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
10 |
- * License as published by the Free Software Foundation; either |
|
11 |
- * version 3 of the License, or any later version. |
|
12 |
- * |
|
13 |
- * This program is distributed in the hope that it will be useful, |
|
14 |
- * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
17 |
- * |
|
18 |
- * You should have received a copy of the GNU Affero General Public |
|
19 |
- * License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
20 |
- * |
|
21 |
- */ |
|
22 |
- |
|
23 |
-$(document).ready(function(){ |
|
24 |
- |
|
25 |
- $(window).scroll(function(){ |
|
26 |
- if($(this).scrollTop() > 900){ |
|
27 |
- $('#upArrow').fadeIn(); |
|
28 |
- } else{ |
|
29 |
- $('#upArrow').fadeOut(); |
|
30 |
- } |
|
31 |
- }); |
|
32 |
- |
|
33 |
- $("#upArrow").click(function(){ |
|
34 |
- $('html ,body').animate({scrollTop : 0},500); |
|
35 |
- }); |
|
36 |
- |
|
37 |
-}); |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,37 @@ |
1 |
+/** |
|
2 |
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
3 |
+ * |
|
4 |
+ * @author Double Bastion LLC |
|
5 |
+ * |
|
6 |
+ * @license GNU AGPL version 3 or any later version |
|
7 |
+ * |
|
8 |
+ * This program is free software; you can redistribute it and/or |
|
9 |
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
10 |
+ * License as published by the Free Software Foundation; either |
|
11 |
+ * version 3 of the License, or any later version. |
|
12 |
+ * |
|
13 |
+ * This program is distributed in the hope that it will be useful, |
|
14 |
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
17 |
+ * |
|
18 |
+ * You should have received a copy of the GNU Affero General Public |
|
19 |
+ * License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
20 |
+ * |
|
21 |
+ */ |
|
22 |
+ |
|
23 |
+$(document).ready(function(){ |
|
24 |
+ |
|
25 |
+ $(window).scroll(function(){ |
|
26 |
+ if($(this).scrollTop() > 900){ |
|
27 |
+ $('#upArrow').fadeIn(); |
|
28 |
+ } else{ |
|
29 |
+ $('#upArrow').fadeOut(); |
|
30 |
+ } |
|
31 |
+ }); |
|
32 |
+ |
|
33 |
+ $("#upArrow").click(function(){ |
|
34 |
+ $('html ,body').animate({scrollTop : 0},500); |
|
35 |
+ }); |
|
36 |
+ |
|
37 |
+}); |