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');