diff options
author | Robert Manea <gotmor@gmail.com> | 2009-10-20 17:19:55 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-10-20 17:19:55 +0200 |
commit | e802d5187c9619f4c8f03802350e29435a3ec9d3 (patch) | |
tree | e0d617222d330f005dba3021be473931f3916739 /examples | |
parent | 80b551b6717accb9739a60e527ae90784cfc574a (diff) |
fix automatic insert mode setting
Diffstat (limited to 'examples')
-rw-r--r-- | examples/config/uzbl/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config index 8cb4876..1ca1770 100644 --- a/examples/config/uzbl/config +++ b/examples/config/uzbl/config @@ -45,7 +45,7 @@ set new_window = sh 'uzbl-browser -u $8' # equivalent to the default beh # Generate a FORM_ACTIVE event if a text element on the loaded site # has initial focus unfortunatelly this only works for text elements, # yet due to webkit limitations -@on_event LOAD_FINISH js if(document.activeElement.getAttribute('type') == 'text') {Uzbl.run("event FORM_ACTIVE");} +@on_event LOAD_FINISH js if(document.activeElement.type == 'text') {Uzbl.run("event FORM_ACTIVE");} # Switch to insert mode if a (editable) html form is clicked @on_event FORM_ACTIVE @set_mode insert |