Tweet event doesn't fire with IE


#1

I’m trying to detect tweet event. it works fine with firefox but it doesn’t work with IE 9+.
And it works fine with IE when I change the event “tweet” to “click” .
My code is below.
Could anyone suggest any solution for this ?

window.twttr = (function(d, s, id) {
var t, js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = “//platform.twitter.com/widgets.js”;
fjs.parentNode.insertBefore(js, fjs);
return window.twttr || (t = {
_e: [],
ready: function(f) {
t._e.push(f);
}
});
}(document, “script”, “twitter-wjs”));
twttr.ready(function(twttr) {
twttr.widgets.load();
twttr.events.bind(‘tweet’, call_back_event);
});
function call_back_event(intent_event) {
if (intent_event) {
updateShareFlg();
};
}


#2