]> git.gir.st - VimFx.git/commit
Fix `gi` after searching issues on github
authorSimon Lydell <simon.lydell@gmail.com>
Sat, 5 Mar 2016 12:59:01 +0000 (13:59 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Sat, 5 Mar 2016 13:06:39 +0000 (14:06 +0100)
commit47d3421b3761babc0fa18667f82d5f2f9299c266
treec9d8de7ed7eff88bfe92a953a7f762040304871a
parentcd7119937b9337ce3af1e44394bc66ebcade3d94
Fix `gi` after searching issues on github

After searching for issues on github, the search input gets removed from the DOM
and replaced with a new one. This means that the last focused text input is no
longer on the page, but `gi` still tried to focus it. This commit checks that
the last focused element really is present in the DOM first.
extension/lib/commands-frame.coffee
extension/lib/utils.coffee
Imprint / Impressum