 # Focus element
 command_vf = (vim) ->
   markers = hints.injectHints(vim.window.document)
-  if markers?.length > 0
+  if markers.length > 0
     vim.enterHintsMode(markers, (marker) -> marker.element.focus())
 
 # Copy current URL to the clipboard

# Follow links in a new Tab with hint markers
command_F = (vim) ->
  markers = hints.injectHints(vim.window.document)
  if markers?.length > 0
    # This callback will be called with the selected marker as argument
    cb = (marker) ->
      marker.element.focus()

command_f = (vim) ->
  if document = vim.window.document
    markers = hints.injectHints(document)
    if markers.length > 0
      # This callback will be called with the selected marker as argument
      cb = (marker) ->
        marker.element.focus()
