diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-05-08 15:13:44 -0600 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-05-08 15:13:44 -0600 |
commit | b2d8dcb3ea9e7dac3df5fe2eb20619087f31200f (patch) | |
tree | 0245c6c2be6772a1018a6e62929bcb423997111c /examples | |
parent | 066228a844afbfe3418b218a3ee431be72abe938 (diff) |
follow.js: maintain compatibility with old configurations
Diffstat (limited to 'examples')
-rw-r--r-- | examples/data/scripts/follow.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/data/scripts/follow.js b/examples/data/scripts/follow.js index 782b1d1..2d65489 100644 --- a/examples/data/scripts/follow.js +++ b/examples/data/scripts/follow.js @@ -16,10 +16,10 @@ uzbldivid = 'uzbl_link_hints'; uzbl.follow = function() { // Export charset = arguments[0]; - if (arguments[2] == 'click') { + if (arguments[2] == 0 || arguments[2] == 'click') { newwindow = false; returnuri = false; - } else if (arguments[2] == 'newwindow') { + } else if (arguments[2] == 1 || arguments[2] == 'newwindow') { newwindow = true; returnuri = false; } else if (arguments[2] == 'returnuri') { |