diff --git a/src/core/ui/launcher.templ b/src/core/ui/launcher.templ
index 82287ab..d552dd4 100644
--- a/src/core/ui/launcher.templ
+++ b/src/core/ui/launcher.templ
@@ -285,8 +285,9 @@ templ launcherJS() {
let longPressTimer = null;
let currentUrl = null;
- function openApp(url) { window.open(url, "_blank"); } function openAppEl() {
- window.open(url, '_blank');
+ function openApp() {
+ var url = this.getAttribute('data-url');
+ if (url) window.open(url, '_blank');
}
function startLongPress(e, url) {
diff --git a/src/core/ui/launcher_templ.go b/src/core/ui/launcher_templ.go
index 195054c..8693012 100644
--- a/src/core/ui/launcher_templ.go
+++ b/src/core/ui/launcher_templ.go
@@ -425,7 +425,7 @@ func launcherJS() templ.Component {
templ_7745c5c3_Var20 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 25, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}