Skip to content

Commit

Permalink
source preview fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Heulitig committed Apr 10, 2024
1 parent 3cb3092 commit 81ec503
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions actions/navigate.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ js: $assets.files.assets.js.update-source.js

url = fileurl;
update_source_code(url)

;;callAlert("Navigating to file:" + fileurl + ", default file: " + default_file)
2 changes: 1 addition & 1 deletion assets/js/update-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function update_source_code(file) {
});
});

ftd.set_value("ui.fifthtry.com/actions/storybook/navigate#active-file-content", file_source);
ftd.set_value("fifthtry.github.io/today-has-been-ui/actions/navigate#active-file-content", file_source);
}

async function fetch_ftd_source(file_path) {
Expand Down

0 comments on commit 81ec503

Please sign in to comment.