From d6c734cbc4f8d9b16b92b399dd2ced63b33e15d6 Mon Sep 17 00:00:00 2001 From: CalDescent <> Date: Fri, 3 Mar 2023 13:25:31 +0000 Subject: [PATCH] Adapted home button in browser to take you to websites/apps list, depending on the resource being viewed. --- qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js b/qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js index 1f00b376..4ae55191 100644 --- a/qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js +++ b/qortal-ui-plugins/plugins/core/qdn/browser/browser.src.js @@ -1261,7 +1261,12 @@ class WebBrowser extends LitElement { } goBackToList() { - window.location = '../index.html'; + if (this.service == "APP") { + window.location = '../../q-app/index.html'; + } + else { // Default to websites list + window.location = '../index.html'; + } } follow() {