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

Commit

Permalink
set focus to textarea on load. Tested in latest browsers & IE7+
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Oct 2, 2011
1 parent 33a5d66 commit 30b427f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/js/jsl.interactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ jsl.interactions = (function () {
$('div.linedwrap').removeClass('greenBorder').removeClass('redBorder');
}).linedtextarea({
selectedClass: 'lineselect'
});
}).focus();

$('#reset').click(function () {
$('#json_input').val('').focus();
Expand Down

0 comments on commit 30b427f

Please sign in to comment.