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

# Copy element URL to the clipboard
command_yf = (vim) ->
  markers = hints.injectHints(vim.window.document)
  if markers?.length > 0
    cb = (marker) ->
      if url = marker.element.href
        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()
