MooTools events not firing in IE8

Posted by gregory on Stack Overflow See other posts from Stack Overflow or by gregory
Published on 2010-04-30T02:12:26Z Indexed on 2010/04/30 2:17 UTC
Read the original article Hit count: 354

I have a Mootools asset created like so:

// Create a new asset
var asset = new Asset.image(path, {
    title: this.language.download,
    events: {click: this.download.bind(this, link)},
});

I have a method of a MooTools object defined as such:

download: function(e) { 
    // The path to download
    console.log('download: ' + e);
},

In Firefox the console.log print shows up. In IE8, however, I have no luck. Am I missing something?

Any tips or advice would be greatly appreciated. TIA!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about mootools