brittohalloran/notestack — Issue #24: login.js broken on IE8
Author: eykanal
Created: 2011-12-21 19:52:31+00:00
State: open

There's an error with the `login.js` script (or, more appropriately, the `login.min.js` script) in IE8. I only have access to the minified script at work, but here's the offending code:

$(".password").keypress(function(a){a.which===13&&(e($(".email").val().trim(),$(".password").val().trim()),$(".login_message").text("authenticating").slideDown("fast"))});

The following error occurs at the `a.which` statement:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; PNCStd)
Timestamp: Wed, 21 Dec 2011 19:51:17 UTC

Message: Object doesn't support this property or method
Line: 12
Char: 169
Code: 0
URI: https://notestack.me/js/login.min.js?v0.8.20

I'll check it out when I get home, but I just wanted to report it. Personally, I use firefox, so I don't care :), but I thought I may as well put it here.