app/assets/javascripts/smoothScroll.js
Function smoothScroll
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function smoothScroll() {
(function (jQuery) {
let scope = $('body[data-action="home"]')
if (scope.length === 0) {
return
- Create a ticketCreate a ticket
Function jump
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jump: function (options) {
let defaults = {
selector: 'a.scroll-on-page'
};
if (typeof options === 'string') {
- Create a ticketCreate a ticket