markdown preview下的a不能点击

This commit is contained in:
life
2015-03-01 21:50:34 +08:00
parent 120ab4e439
commit bd1d066236

View File

@@ -820,6 +820,12 @@ $(function() {
// 手机端?
Mobile.init();
// markdown preview下的a不能点击
$('#preview-contents').on('click', 'a', function(e) {
e.preventDefault();
return false;
});
});