From 04667c326e3b04579ac1840bea61f1c045ce90e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Laumaill=C3=A9?= Date: Sat, 21 Dec 2024 17:41:26 +0100 Subject: [PATCH] Fix for #4531 --- includes/config/include.php | 2 +- pages/items.js.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/config/include.php b/includes/config/include.php index 147a815f4..854789396 100755 --- a/includes/config/include.php +++ b/includes/config/include.php @@ -28,7 +28,7 @@ define('TP_VERSION', '3.1.3'); define("UPGRADE_MIN_DATE", "1732981987"); -define('TP_VERSION_MINOR', '2'); +define('TP_VERSION_MINOR', '5'); define('TP_TOOL_NAME', 'Teampass'); define('TP_ONE_DAY_SECONDS', 86400); define('TP_ONE_WEEK_SECONDS', 604800); diff --git a/pages/items.js.php b/pages/items.js.php index 06afcc507..59b88cf8a 100755 --- a/pages/items.js.php +++ b/pages/items.js.php @@ -372,7 +372,7 @@ function(teampassApplication) { }); // Prepare some UI elements - $('#limited-search').prop('checked', ''); + $('#limited-search').prop('checked', ); $(document).on('blur', '#form-item-icon', function() { $('#form-item-icon-show').html(''); @@ -3392,7 +3392,7 @@ function(teampassItem) { // Warn in case of limited search $(document).on('click', '#limited-search', function() { - if ($(this).is(":checked") != "") { + if ($(this).is(":checked") !== ) { $('#find_items').addClass('bg-red'); } else { $('#find_items').removeClass('bg-red');