Fix for WYSIWYG editor on github (#114).
authorDaniel Carl <danielcarl@gmx.de>
Thu, 16 Oct 2014 13:05:00 +0000 (15:05 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 16 Oct 2014 13:05:00 +0000 (15:05 +0200)
commit4f04c3a91b951a557103e823e22739193ee8ad01
tree6dc54914384d4058b4afa612f3542960c94a0470
parenta4f0a06ce3ba6d12a5dbf4ac10adbca7a28f243e
Fix for WYSIWYG editor on github (#114).

For these editors the click does not reach the editable element, so that vimb
does not switch to insert mode. But the textarea is focused when the click
appears, so that we can pick up the click event and check if the focused
element is editable.
I hope this will not break other pages that heavily depend on JavaScript.
src/main.c