Skip to content

Commit

Permalink
Add support for IE8 with IE8-EventListener. Solves #6
Browse files Browse the repository at this point in the history
  • Loading branch information
tejacques committed Mar 2, 2015
1 parent c96558b commit cdc4c04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/crosstab.js
Expand Up @@ -15,6 +15,7 @@
var localStorage;
try {
localStorage = window.localStorage;
localStorage = window['ie-eventlistener/storage'] || window.localStorage;
} catch (e) {
// New versions of Firefox throw a Security exception
// if cookies are disabled. See
Expand Down Expand Up @@ -622,4 +623,4 @@
factory(require, module.exports, module);
context[name] = module.exports;
};
})(this));
})(this));

0 comments on commit cdc4c04

Please sign in to comment.