mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 03:04:36 +00:00
UI strings/tooltips/basic handling review/optimizations
This commit is contained in:
@@ -16,7 +16,7 @@ $(".numberpicker-up-button").unbind('click').on("click", function()
|
||||
|
||||
$(".numberpicker").on("keyup", function()
|
||||
{
|
||||
if ($(this).data("not-equal") && !$(this).data("not-equal").toString().isEmpty() && $(this).data("not-equal") == $(this).val())
|
||||
if ($(this).attr("data-not-equal") && !$(this).attr("data-not-equal").toString().isEmpty() && $(this).attr("data-not-equal") == $(this).val())
|
||||
{
|
||||
$(this)[0].setCustomValidity("error");
|
||||
}
|
||||
|
Reference in New Issue
Block a user