diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-07-01 21:25:48 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-07-01 21:25:48 +0000 |
commit | be39860688e01e0d0749fdbefdd226d790133219 (patch) | |
tree | 5693e753510d48cdfd0e3e530e7e9c403a9b18e0 /share/www/script | |
parent | 1dc0804d97ac2ff9f6bb4f274eb4ecb815404586 (diff) |
click to edit config in Futon instead of double click. thanks Aaron Miller
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@959788 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/jquery.editinline.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/jquery.editinline.js b/share/www/script/jquery.editinline.js index b48607d4..868abc5e 100644 --- a/share/www/script/jquery.editinline.js +++ b/share/www/script/jquery.editinline.js @@ -90,7 +90,7 @@ allowEmpty: true, acceptLabel: "", cancelLabel: "", - toolTip: "Double click to edit", + toolTip: "Click to edit", acceptOnBlur: true, // callbacks @@ -105,7 +105,7 @@ }, options || {}); return this.each(function() { - $(this).attr("title", options.toolTip).dblclick(function() { + $(this).attr("title", options.toolTip).click(function() { startEditing(this, options); }); }); |