diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 5415e716e..d62e865c7 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -190,7 +190,5 @@ js_format.gsub!('%Y', 'YYYY') %> - if (typeof(formatJS) == undefined) { // Turbolinks fix - const formatJS = "<%= js_format %>" - } + var formatJS = "<%= js_format %>"