Skip to content

Commit f0a3877

Browse files
committed
Temporarily disabled nice sccroll of JQUery
1 parent 702bb21 commit f0a3877

2 files changed

Lines changed: 16 additions & 27 deletions

File tree

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
$(function () {
2-
$("body").niceScroll({
3-
cursorwidth: 12,
4-
cursoropacitymin: 0.4,
5-
cursorcolor: 'firebrick',
6-
cursorborder: 'none',
7-
cursorborderradius: 4,
8-
autohidemode: 'leave'
9-
}); // free your immagination
10-
$("body").niceScroll().resize();
11-
// console.log("Entered..");
12-
});
1+
// <!-- Add the custom scroll bar -->
2+
// <!-- <script >
3+
// $(function () {
4+
// $("body").niceScroll({
5+
// cursorwidth: 12,
6+
// cursoropacitymin: 0.4,
7+
// cursorcolor: 'firebrick',
8+
// cursorborder: 'none',
9+
// cursorborderradius: 4,
10+
// autohidemode: 'leave'
11+
// }); // free your immagination
12+
// $("body").niceScroll().resize();
13+
// // console.log("Entered..");
14+
// });
15+
// </script> -->

app/views/layouts/application.html.erb

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,7 @@
2121
</div>
2222
<%= render 'layouts/footer' %>
2323

24-
<!-- Add the custom scroll bar -->
25-
<!-- <script >
26-
$(function () {
27-
$("body").niceScroll({
28-
cursorwidth: 12,
29-
cursoropacitymin: 0.4,
30-
cursorcolor: 'firebrick',
31-
cursorborder: 'none',
32-
cursorborderradius: 4,
33-
autohidemode: 'leave'
34-
}); // free your immagination
35-
$("body").niceScroll().resize();
36-
// console.log("Entered..");
37-
});
38-
</script> -->
24+
3925

4026
</body>
4127
</html>

0 commit comments

Comments
 (0)