• Resolved Daniele

    (@dabesa)


    Hi there,
    Thanks for the theme, it’s perfect for a project I’m working on.
    I did notice a bug, the general.js script is giving error in all pages:

    Uncaught TypeError: undefined is not a function

    “TypeError: $(…).niceScroll is not a function
    …cursoropacitymax:0.7,cursorwidth:11,cursorborder:”1px solid #2848BE”,cursorborde…”

    This is caused by those two lines in general.js:

    $(“#suggestionslist”).niceScroll({touchbehavior:true,cursorcolor:”#048EB0″,cursoropacitymax:0.7,cursorwidth:11,cursorborder:”1px solid #2848BE”,cursorborderradius:”8px”,background:”#ccc”,autohidemode:false}); // MAC like scrollbar

    $(“#suggestionslist2″).niceScroll({touchbehavior:false,cursorcolor:”#00F”,cursoropacitymax:0.7,cursorwidth:6,background:”#ccc”,autohidemode:false});

    The error was preventing other js code to be executed.
    I commented those lines and now is OK, but I think there’s a bug.

    Can you check?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Uncaught TypeError: undefined is not a function’ is closed to new replies.