mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 14:18:00 +01:00
remove unnecessary parentheses from typeof operands
This commit is contained in:
@@ -1347,7 +1347,7 @@ function zoom_to(value)
|
||||
value = 100;
|
||||
|
||||
// convert to int, if string was given
|
||||
if (typeof(value) != "number")
|
||||
if (typeof value != "number")
|
||||
{
|
||||
oldval = value;
|
||||
value = parseInt(oldval, 10);
|
||||
|
||||
Reference in New Issue
Block a user