• Resolved Khoi Pro

    (@khoipro)


    Your plugin contains some wrong code.

    // Error log
    
    front.min.js:1 Uncaught ReferenceError: incOpt is not defined

    And found:

    incOpt.is_admin || (window.Optin.moduleLogView = Backbone.Model.extend({
                        url: incOpt.ajaxurl + "?action=hustle_module_viewed",
                        defaults: {
                            page_id: incOpt.page_id
                        },
                        parse(t) {
                            t.success ? console.log("Log success!") : console.log("Log failed!")
                        }
                    })

    Actually my popups does not contain any submission form. Just a pure slidein content with a button to external url.

    Also on Behavior, I just set delay to 6 seconds and set everything to show. However, open a new incognito tab and not seeing anything works.

    Tried to disable Litespeed JS, disable Litespeed plugin. Not help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JS trigger error, not working’ is closed to new replies.