   ticker_over: 0
   current_cue: $()
   live_indicator: $()
+# ------------
 
+# --- Refresh/restore time displays in cues and the master clock view ---
 restore_t = (part_t) ->
   seconds = part_t.data('seconds-original')
-  part_t.data('seconds', seconds)
   part_t.html(seconds_string(seconds))
   seconds
 


# Turbolinks
$(document).on('turbolinks:load', load)

    go_to prev, refresh
  else
    go_to host.current_cue, refresh
# ------------

# --- Ticker functions (advances the clock every second) ---
schedule_tick = (tick_f) ->
  actual = (new Date().getTime()) - host.ticker_start
  # Next tick in 1 second +/- correction of any accumulated error
  setTimeout tick_f, 1000 - (actual - host.ticker_elapsed)

tick = -> # Process tick
  if host.play
    host.ticker_elapsed += 1000
    host.ticker_remaining-- if host.ticker_remaining # Ensure that it's not made negative
