:ruby
  index             = @review_list.index(@snapshot)
  previous_snapshot = @review_list[index - 1] if index > 0
  next_snapshot     = @review_list[index + 1]

%ul.pager
  %li.previous{ class: ('disabled' unless previous_snapshot) }
    :ruby
      href = if previous_snapshot
               snapshot_path(previous_snapshot)
             else
               'javascript:return false;'
             end
    = link_to href, data: { keyboard_shortcut: 'K [' } do
      %i.glyphicon.glyphicon-arrow-left
      Previous in sweep

  %li.next{ class: ('disabled' unless next_snapshot) }
    :ruby
      href = if next_snapshot
               snapshot_path(next_snapshot)
             else
               'javascript:return false;'
             end
    = link_to href, data: { keyboard_shortcut: 'J ]' } do
      Next in sweep
      %i.glyphicon.glyphicon-arrow-right

:ruby
  index             = @review_list.index(@snapshot)
  previous_snapshot = @review_list[index - 1] if index > 0
  next_snapshot     = @review_list[index + 1]

%ul.pager
  %li.previous{ class: ('disabled' unless previous_snapshot) }
    :ruby
      href = if previous_snapshot
               snapshot_path(previous_snapshot)
             else
               'javascript:;'
             end
    = link_to href, data: { keyboard_shortcut: 'K [' } do
      %i.glyphicon.glyphicon-arrow-left
      Previous in sweep

  %li.next{ class: ('disabled' unless next_snapshot) }
    :ruby
      href = if next_snapshot
               snapshot_path(next_snapshot)
             else
               'javascript:;'
             end
    = link_to href, data: { keyboard_shortcut: 'J ]' } do
      Next in sweep
      %i.glyphicon.glyphicon-arrow-right

Fix trivial JS error with sweep pager buttons
Fix trivial JS error with sweep pager buttons

In Safari (and by extension in PhantomJS), clicking a link that
has `javascript return false;` triggers an error.

This error had no effect on functionality, but was causing the new
feature specs for the "[" and "]" shortcuts to fail.  Changing the
links to simply return nothing allows the same functionality with
no javascript errors.
