mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-02 10:29:39 +00:00
Previously, Utils.set_defaults was using `if(conf[keys[i]])` to check for the presence of a configuration key. This would fail if `conf[keys[i]]` happened to be false. Instead, we now use `if(keys[i] in conf)`, which simply checks for the presence of the key in the conf object.
20 KiB
20 KiB