javascript in directory.html not IE-friendly #614

Closed
smithclay opened this Issue Jun 27, 2012 · 0 comments

Projects

None yet

2 participants

@smithclay

In particular, IE starts throwing errors when loading up a directory in connect:

        el.on = function(event, fn){
          if ('content loaded' == event) event = 'DOMContentLoaded';
          el.addEventListener(event, fn, false);
        };

In IE versions prior to 9, el.attachEvent should be used instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment