mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix missing Number.isNaN in IE
See https://github.com/sourcelair/xterm.js/pull/525#issuecomment-278497452
This commit is contained in:
+1
-1
@@ -1715,7 +1715,7 @@ Terminal.prototype.error = function() {
|
||||
* @param {number} y The number of rows to resize to.
|
||||
*/
|
||||
Terminal.prototype.resize = function(x, y) {
|
||||
if (Number.isNaN(x) || Number.isNaN(y)) {
|
||||
if (isNaN(x) || isNaN(y)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user