标签:chat on() 技术 UI ie兼容 ble logs oca uid
function stopBubbling(e) {
e = window.event || e;
if (e.stopPropagation) {
e.stopPropagation();//阻止事件冒泡传播
} else {
e.cancelBubble = true; //ie兼容
}
}
$scope.goToChat = function (suid) {
$location.path("/chatindex/" + suid);
stopBubbling(event);
};
标签:chat on() 技术 UI ie兼容 ble logs oca uid
原文地址:http://www.cnblogs.com/yinweilong/p/6925130.html