Issue #354: iOS client compatibility
* Added more iOS clients that should use workaround to prevent ever groving console.
This commit is contained in:
parent
f67073d33e
commit
106bc0aa85
1 changed files with 2 additions and 2 deletions
|
@ -1198,8 +1198,8 @@ VT100.prototype.resizer = function() {
|
||||||
document.documentElement.clientHeight ||
|
document.documentElement.clientHeight ||
|
||||||
document.body.clientHeight))-1;
|
document.body.clientHeight))-1;
|
||||||
|
|
||||||
// Prevent ever growing consoles on iPad.
|
// Prevent ever growing console on some iOS clients.
|
||||||
if (navigator.userAgent.match(/iPad/i) != null) {
|
if (navigator.userAgent.match(/iPad|iPhone|iPod/i) != null) {
|
||||||
height -= 1;
|
height -= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue