Skip to content

Commit

Permalink
Update vtortola.ng-terminal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vtortola committed Aug 8, 2014
1 parent b11b21f commit 00524d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vtortola.ng-terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@
var cursor = angular.element(element[0].querySelector('.terminal-cursor'));
var consoleInput = angular.element(element[0].querySelector('.terminal-input'));

if(navigator.appVersion.indexOf("MSIE")){
element.addClass('damn-ie');
}

setInterval(function () {
var focused = $document[0].activeElement == target[0];
if (focused) {
Expand Down Expand Up @@ -390,4 +394,4 @@
}
}
})
;
;

0 comments on commit 00524d4

Please sign in to comment.