Skip to content

Instantly share code, notes, and snippets.

@pdebelak
Created April 9, 2015 13:57
Show Gist options
  • Save pdebelak/34981902ba59ca9bc3c8 to your computer and use it in GitHub Desktop.
Save pdebelak/34981902ba59ca9bc3c8 to your computer and use it in GitHub Desktop.
Turbolinks setInterval
@btrewern
Copy link

I'm in exactly the same position and this is really useful. Just thought I'd add:

on line 12 of working_turbolinks_set_interval.js it should read:

$(document).off('page:change', clearPolling);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment