use Rails 4 turbolinks

This commit is contained in:
Lee Lawlor committed 2014-07-23 13:45:15 -04:00
1 parent 7a132477d0
commit 937d2eea47
25 files changed
+49 -55

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@
return Date.UTC(d.substring(0,4), d.substring(5,7)-1, d.substring(8,10), d.substring(11,13), d.substring(14,16), d.substring(17,19)) - (myOffset * 60000);
}
$(document).ready(function() {
$(document).on('page:load ready', function() {
// blank array for holding chart data
var chartData = [];
// variable for the date string