Code Monkey home page Code Monkey logo

Comments (6)

lorensr avatar lorensr commented on June 15, 2024 2

😆 haha, thank you

Thank you @kachkaev @GrandathePanda @cfnelson for reporting and confirming 🙌😃 I downloaded FF, and now it's working for me. Now to get away from this crazy font and catch this wild Krabby! 💃

from apollo.

kachkaev avatar kachkaev commented on June 15, 2024

Just upgraded FF to 47.0 – the issue remains.

from apollo.

iantbutler01 avatar iantbutler01 commented on June 15, 2024

Can confirm and also problem seems exclusive to FF, works on chrome.

from apollo.

cfnelson avatar cfnelson commented on June 15, 2024

Confirmed on FF 47.0.1

ReferenceError: event is not defined
<anonymous>
 main.js:28
n.event.dispatch()
 jquery.min.js:3
n.event.add/r.handle()
 jquery.min.js:3

Code snippet below where the error is being raised.

$('#newsletter-form').submit(function(e) {
    e.preventDefault()
    var email = event.target.email.value; // - The error being raised. 
    var latestformsubmit = 'Apollo Newsletter Subscription'
    analytics.identify(email, {email: email, LatestFormSubmit: latestformsubmit});
    analytics.track('web.apollo-newsletter');
    $('.newsletter-form').addClass('confirmed');

    setTimeout(function(){
      $('.layout').attr('class', 'layout');
    }, 1200);
  })

Signup works on chrome.

from apollo.

lorensr avatar lorensr commented on June 15, 2024

Thanks everyone, looks like fix is just changing event -> e. Funny that this actually works in Chrome 😜

@stubailo is the site open-source? I'm not seeing it under apollostack/*

from apollo.

stubailo avatar stubailo commented on June 15, 2024

@lorensr the site is under gh-pages on this very repository!

from apollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.