diff options
| author | Thomas Hallgren <th-github@altocumulus.org> | 2018-03-29 16:17:25 +0200 |
|---|---|---|
| committer | Thomas Hallgren <th-github@altocumulus.org> | 2018-03-29 16:17:25 +0200 |
| commit | 78cf1849574b8ba2709d1712202ebe34327c63f9 (patch) | |
| tree | 3bd331efa40bb57fd948840e4df44c9958f63343 | |
| parent | a9135c9b7ecf78dc4e78fd604969538ebd1b1ad4 (diff) | |
gfse: fix for some browser: hovering over an empty grammar comment to edit it
This was a problem in Safari (an other similar browsers I presume), but
not in Firefox: hovering over the grammar comment (shown below the grammar
name when you edit a grammar) didn't reveal the button to edit it, thus
preventing you from adding a comment. It was till possible by selecting the
"Enable editing on touch devices." at the bottom of the screen, but most
people probably didn't notice that it is possible to add a comment.
| -rw-r--r-- | src/www/gfse/editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/www/gfse/editor.js b/src/www/gfse/editor.js index 4e3630af0..42638090c 100644 --- a/src/www/gfse/editor.js +++ b/src/www/gfse/editor.js @@ -832,7 +832,7 @@ function draw_abstract(g) { } function draw_comment(g) { - return div_class("comment",editable("span",text(g.comment || ""),g,edit_comment,"Edit grammar description")); + return div_class("comment",editable("span",text(g.comment || "…"),g,edit_comment,"Edit grammar description")); } function module_name(g,ix) { |
