mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 13:34:30 -04:00
Initial switch from jq.data to pure props.
This commit is contained in:
parent
06b4d81a61
commit
a3c9bc9db0
3 changed files with 9 additions and 11 deletions
|
@ -108,10 +108,10 @@ function update(item) {
|
|||
}
|
||||
}
|
||||
|
||||
if (item.$tree) {
|
||||
item.$tree.replaceWith($html);
|
||||
if (item.elTree) {
|
||||
jq(item.elTree).replaceWith($html);
|
||||
}
|
||||
item.$tree = $html;
|
||||
item.elTree = $html[0];
|
||||
|
||||
return $html;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue