Merge pull request #2290 from aignatov-bio/ai-sci-4200-fix-error-on-opening-inventory

Fix error on opening inventory [SCI-4200]
This commit is contained in:
aignatov-bio 2020-01-09 16:00:12 +01:00 committed by GitHub
commit f494a97f99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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