Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2 from DennisKehrig/live-development
Browse files Browse the repository at this point in the history
Made GotoAgent focus the editor
  • Loading branch information
jdiehl committed Jul 27, 2012
2 parents cfef069 + 1671a25 commit 4a49d9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LiveDevelopment/Agents/GotoAgent.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ define(function GotoAgent(require, exports, module) {
codeMirror.setCursor(location);
codeMirror.setLineClass(location.line, "flash");
window.setTimeout(codeMirror.setLineClass.bind(codeMirror, location.line), 1000);
editor.focus();
}

/** Open the editor at the given url and editor location
Expand Down

0 comments on commit 4a49d9f

Please sign in to comment.