소스 검색

minor fix in renaming get html from options function

vineethvk11 1 년 전
부모
커밋
64e3e2082c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/helpers.js

+ 2 - 2
src/helpers.js

@@ -3552,7 +3552,7 @@ window.undo_copy = async(files)=>{
 
 window.undo_move = async(items)=>{
     for (const item of items) {
-        const el = await get_html_from_options(item.options);
+        const el = await get_html_element_from_options(item.options);
         console.log(item.original_path)
         move_items([el], path.dirname(item.original_path), true);
     }
@@ -3560,7 +3560,7 @@ window.undo_move = async(items)=>{
 
 window.undo_delete = async(items)=>{
     for (const item of items) {
-        const el = await get_html_from_options(item.options);
+        const el = await get_html_element_from_options(item.options);
         let metadata = $(el).attr('data-metadata') === '' ? {} : JSON.parse($(el).attr('data-metadata'))
         move_items([el], path.dirname(metadata.original_path), true);
     }