Skip to content

Commit

Permalink
Merge pull request #2557 from subutai-io/issue-2222
Browse files Browse the repository at this point in the history
#2222 -> Dev
  • Loading branch information
Dilshat authored Jul 21, 2018
2 parents 9c8ff79 + dc6bf90 commit fff5dee
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,15 @@
});

consoleView.on('click', function () {
var range = window.getSelection().getRangeAt(0);

target[0].focus();

terminal.toggleClass('terminal-focused', true);

window.getSelection().removeAllRanges();
window.getSelection().addRange(range);

});

target.on("blur", function (e) {
Expand Down

0 comments on commit fff5dee

Please sign in to comment.