mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-31 03:59:51 +08:00
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:
commit
f494a97f99
1 changed files with 4 additions and 1 deletions
|
@ -189,5 +189,8 @@
|
||||||
js_format.gsub!(/%B/, 'MMMM')
|
js_format.gsub!(/%B/, 'MMMM')
|
||||||
js_format.gsub!('%Y', 'YYYY')
|
js_format.gsub!('%Y', 'YYYY')
|
||||||
%>
|
%>
|
||||||
const formatJS = "<%= js_format %>"
|
|
||||||
|
if (typeof(formatJS) == undefined) { // Turbolinks fix
|
||||||
|
const formatJS = "<%= js_format %>"
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue