Commit 4c19d727 by 冷斌

fix bug

parent ccedbda4
...@@ -331,30 +331,9 @@ ...@@ -331,30 +331,9 @@
$(function () { $(function () {
iscollect(isCollect); iscollect(isCollect);
$('.next_question').on('click', function () {
console.log(window.event);
stopBubbling();
alert(1);
});
}); });
function stopBubbling(e) {
e = window.event || e;
if(e.stopPropagation){
e.stopPropagation();
}else{
e.cancelBubble = true;
}
if(e.preventDefault){
e.preventDefault();
}else{
e.returnValue= false;
}
}
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment