I'm seriously about to karate chop my computer.

I got this code and it works in firefox but not chrome:

```
$(window).on("scroll", function() {

    if ($('html, body').scrollTop() > 25) {
        console.log("scrolled");
        //do stuff
    }
    else {
        //do other stuff
    }
});

```

It's not loggin scrolled in the chrome dev tools console.

Anyone know whats up.

cheers.