Do not load tooltips on touch screen only device.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-08-27 11:07:59 -06:00
parent cfd83b5b4e
commit 3a74116e70
2 changed files with 4 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ namespace CarCareTracker.Helper
/// </summary> /// </summary>
public static class StaticHelper public static class StaticHelper
{ {
public static string VersionNumber = "1.3.6"; public static string VersionNumber = "1.3.7";
public static string DbName = "data/cartracker.db"; public static string DbName = "data/cartracker.db";
public static string UserConfigPath = "config/userConfig.json"; public static string UserConfigPath = "config/userConfig.json";
public static string GenericErrorMessage = "An error occurred, please try again later"; public static string GenericErrorMessage = "An error occurred, please try again later";

View File

@@ -125,5 +125,7 @@
</ul> </ul>
<script> <script>
$("[data-column='metric']").map((x, y) => new bootstrap.Tooltip(y)); if (!getDeviceIsTouchOnly()) {
$("[data-column='metric']").map((x, y) => new bootstrap.Tooltip(y));
}
</script> </script>