aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2009-12-05 18:19:55 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2009-12-05 18:19:55 +0800
commit5c514a0d42324efbb60c657d171e93720ba422b1 (patch)
tree0206f5f308c2452bc155189443acbc0e053438d8 /examples
parent4ba53742159e166fd25cc5c83a953bc1e39c81d9 (diff)
Updated <Button2> binding to use the new @jsh helper.
Diffstat (limited to 'examples')
-rw-r--r--examples/config/uzbl/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index 54de972..69a211c 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -140,7 +140,7 @@ set socket_dir = /tmp
# otherwise open the selection in the current window
set load_from_xclip = sh 'echo "uri $(xclip -o)" > $4'
set open_new_window = sh 'uzbl-browser -u \@SELECTED_URI'
-@bind <Button2> = js if("\@SELECTED_URI") { Uzbl.run("\@open_new_window"); } else { Uzbl.run("\\\@load_from_xclip"); }
+@bind <Button2> = @jsh if(get("SELECTED_URI")) { run("\@open_new_window"); } else { run("\\\@load_from_xclip"); }
# Edit HTML forms in external editor
set external_editor = gvim