From eebe301efa9f8336eeadbc0e075910ea29aa52ce Mon Sep 17 00:00:00 2001 From: "zhenbo.zheng" Date: Fri, 11 Sep 2015 18:56:17 +0800 Subject: [PATCH] =?UTF-8?q?fix=20IE6/7=20=E4=B8=8B=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IE6/7 漏处理了,不好意思。 --- messenger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messenger.js b/messenger.js index 55ec45a..dd5bdb9 100644 --- a/messenger.js +++ b/messenger.js @@ -48,7 +48,7 @@ window.Messenger = (function(){ Target.prototype.send = function(msg){ var targetFunc = window.navigator[this.prefix + this.name]; if ( typeof targetFunc == 'function' ) { - targetFunc(this.prefix + msg, window); + targetFunc(this.prefix + '|' + this.name + '__Messenger__' + msg, window); } else { throw new Error("target callback function is not defined"); }