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.
|
* @param {number} y The number of rows to resize to.
|
||||||
*/
|
*/
|
||||||
Terminal.prototype.resize = function(x, y) {
|
Terminal.prototype.resize = function(x, y) {
|
||||||
if (Number.isNaN(x) || Number.isNaN(y)) {
|
if (isNaN(x) || isNaN(y)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user