mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-08 13:24:38 +00:00
Refactor settings object, add connectTimeout setting.
- include/util.js: Add type and desc field to conf_default routine. Make comment descriptions of settings into desc parameters that can be queried. Also, use set_FOO in conf_default to set or coerce the current setting so that we always have the right type for the value. - include/rfb.js, include/default_config.js: add connectTimeout setting to address situations with slow connections that may need more than 2 seconds.
This commit is contained in:
@@ -22,8 +22,11 @@
|
||||
}
|
||||
#VNC_encrypt {
|
||||
}
|
||||
#VNC_connectTimeout {
|
||||
width: 30;
|
||||
}
|
||||
#VNC_connect_button {
|
||||
width: 100px;
|
||||
width: 110px;
|
||||
}
|
||||
|
||||
#VNC_status_bar td {
|
||||
|
||||
Reference in New Issue
Block a user