From 81ec503f6d654b29a980d2cc1b3e65be2bd096d4 Mon Sep 17 00:00:00 2001 From: heulitig Date: Wed, 10 Apr 2024 11:17:48 +0530 Subject: [PATCH] source preview fix --- actions/navigate.ftd | 2 -- assets/js/update-source.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/actions/navigate.ftd b/actions/navigate.ftd index a5194e5..a2fd6fe 100644 --- a/actions/navigate.ftd +++ b/actions/navigate.ftd @@ -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) diff --git a/assets/js/update-source.js b/assets/js/update-source.js index 1e40659..2fb407a 100644 --- a/assets/js/update-source.js +++ b/assets/js/update-source.js @@ -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) {