minor. do not emit 'open'.

This commit is contained in:
Christopher Jeffrey
2013-08-08 10:41:21 -05:00
parent 14248234d4
commit f46cb5198b
+2 -1
View File
@@ -431,6 +431,7 @@ Terminal.bindKeys = function(document) {
if (!Terminal.focus) return;
var el = ev.target || ev.srcElement;
if (!el) return;
do {
if (el === Terminal.focus.element) return;
@@ -531,7 +532,7 @@ Terminal.prototype.open = function(parent) {
this.element.style.backgroundColor = Terminal.defaultColors.bg;
this.element.style.color = Terminal.defaultColors.fg;
this.emit('open');
// this.emit('open');
};
// XTerm mouse events