mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-07 09:48:50 +01:00
JavaScript working for subdir
This commit is contained in:
parent
a0d12c95e9
commit
25f0f3dfd9
3 changed files with 8 additions and 7 deletions
|
|
@ -21,6 +21,7 @@
|
|||
var tagNames = <%= tag_names_for_autocomplete %>;
|
||||
var dateFormat = '<%= date_format_for_date_picker %>';
|
||||
var weekStart = '<%= current_user.prefs.week_starts %>';
|
||||
function relative_to_root(path) { return '<%= root_url %>'+path; };
|
||||
<% end -%>
|
||||
<% if @prefs.refresh != 0 -%>
|
||||
setup_auto_refresh(<%= @prefs["refresh"].to_i*60000 %>);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue