mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-20 10:48:00 +08:00
fix:解决锚标记刷新页面丢失问题。
This commit is contained in:
@@ -279,13 +279,4 @@ $(function () {
|
||||
console.log($param);
|
||||
}
|
||||
};
|
||||
try {
|
||||
var $node = window.jsTree.jstree().get_selected();
|
||||
if ($node instanceof Array && $node.length) {
|
||||
$node = window.jsTree.jstree().get_node({ id: $node[0] });
|
||||
events.trigger('article.open', { $url: $node.a_attr.href, $id: $node.id });
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user