File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " mind-elixir" ,
3- "version" : " 5.0.0 " ,
3+ "version" : " 5.0.1 " ,
44 "type" : " module" ,
55 "description" : " Mind elixir is a free open source mind map core." ,
66 "keywords" : [
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { layoutChildren } from './layout'
77// DOM manipulation
88const $d = document
99export const findEle = function ( this : MindElixirInstance , id : string , el ?: HTMLElement ) {
10- const scope = this . el ? this . el : el ? el : document
10+ const scope = this ? .el ? this . el : el ? el : document
1111 const ele = scope . querySelector < Topic > ( `[data-nodeid=me${ id } ]` )
1212 if ( ! ele ) throw new Error ( `FindEle: Node ${ id } not found, maybe it's collapsed.` )
1313 return ele
You can’t perform that action at this time.
0 commit comments