Merge pull request #2295 from aignatov-bio/ai-sci-fix-const-in-repository-show

Fix const in repository show view
This commit is contained in:
aignatov-bio 2020-01-13 10:39:54 +01:00 committed by GitHub
commit 7ac1b45aaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,7 +190,5 @@
js_format.gsub!('%Y', 'YYYY')
%>
if (typeof(formatJS) == undefined) { // Turbolinks fix
const formatJS = "<%= js_format %>"
}
var formatJS = "<%= js_format %>"
</script>