Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix text box selection in Safari

  • Loading branch information...
commit 48aac9d696c603c08e8cf2a1ec39d80cd83d6f62 1 parent 7914d6a
@adamlogic adamlogic authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  public/javascripts/application.js
View
3  public/javascripts/application.js
@@ -4,7 +4,8 @@ $(function() {
$('#drawing li').solari('000000');
$('#add_entries_link').click(function() {
- $('#entries_form').toggle().find(':text').trigger('select');
+ $('#entries_form').toggle();
+ setTimeout(function() { $('#entries_form :text').trigger('select') }, 0);
return false;
});
Please sign in to comment.
Something went wrong with that request. Please try again.