mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01:00
Fixed JS error
This commit is contained in:
parent
5c8ed05f68
commit
f1ddd4a57e
|
|
@ -63,6 +63,11 @@ IsTouchInputDevice = function()
|
|||
|
||||
BoolVal = function(test)
|
||||
{
|
||||
if (!test)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var anything = test.toString().toLowerCase();
|
||||
if (anything === true || anything === "true" || anything === "1" || anything === "on")
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user