• Hi

    In Google Inspect tool this error is revealed:

    (index):80 Uncaught ReferenceError: foo is not defined
        at Object.callback ((index):80)
        at typed.min.js?ver=4.8.2:1

    The function mentioned:

        jQuery(function($){
    
        $('.type-wrap').show();
    
            $('#typed').typed({
                stringsElement: $('#typed-strings'),
                typeSpeed: 65,
                backDelay: 2500,
                loop: false,
                contentType: 'html', // or text
                loopCount: false,
                callback: function(){ foo(); },
                resetCallback: function() { newTyped(); }
            });
    
            $('.reset').click(function(){
                $('#typed').typed('reset');
            });
    
        });

    Any ideas how to fix? The plugin works fine, but it’d be great if it didn’t trigger this errormessage…

    • This topic was modified 6 years, 6 months ago by Bjarne Oldrup.
Viewing 1 replies (of 1 total)
  • Plugin Author Kim Vinberg

    (@dicmdk)

    Hi Bjarne.

    For some reason i did not get any notifications about this support question. The error is simply that the function foo(); doesnt exists. I will check the plugin to see if it is present and update if needed.

    until i update, you can simply remove the mentioning of foo(); in the code.

    callback: function(){ foo(); },

    to this:

    callback: function(){ },

    If you need any help with this plugin please contact me 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught ReferenceError: foo is not defined’ is closed to new replies.