mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-16 08:01:53 +00:00
markdown preview下的a不能点击
This commit is contained in:
@@ -820,6 +820,12 @@ $(function() {
|
|||||||
|
|
||||||
// 手机端?
|
// 手机端?
|
||||||
Mobile.init();
|
Mobile.init();
|
||||||
|
|
||||||
|
// markdown preview下的a不能点击
|
||||||
|
$('#preview-contents').on('click', 'a', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user