mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 985089 followup: fix mis-spelling of isNaN, r=gfritzsche
This commit is contained in:
parent
cd2fddc1ce
commit
13bd4bb780
@ -252,7 +252,7 @@ Experiments.Policy.prototype = {
|
||||
if (pref !== undefined) {
|
||||
let val = Number.parseFloat(pref);
|
||||
this._log.debug("random sample forced: " + val);
|
||||
if (IsNaN(val) || val < 0) {
|
||||
if (isNaN(val) || val < 0) {
|
||||
return 0;
|
||||
}
|
||||
if (val > 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user