javascript in directory.html not IE-friendly #614

smithclay opened this Issue Jun 27, 2012 · 0 comments


None yet

2 participants


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