diff --git a/.prettierignore b/.prettierignore index b656b39..65a1447 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,5 @@ # Ignore artifacts: dist -skins/weewx-wdc/includes/stat-tile.inc \ No newline at end of file +skins/weewx-wdc/includes/stat-tile.inc +*.inc +*.html.tmpl \ No newline at end of file diff --git a/skins/weewx-wdc/index.html.tmpl b/skins/weewx-wdc/index.html.tmpl index a395b79..6da68bc 100644 --- a/skins/weewx-wdc/index.html.tmpl +++ b/skins/weewx-wdc/index.html.tmpl @@ -80,7 +80,7 @@ #set $skin_obs_key = $get_custom_data_binding_obs_key($skin_obs) #if $render_modal - + @@ -95,14 +95,14 @@ document .querySelector(".stat-tile[data-observation='$skin_obs_key']") .addEventListener("click", () => { - document.getElementById("modal-example-$skin_obs_key").open = true; + document.getElementById("modal-$skin_obs_key").open = true; });