mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 14:46:42 +08:00
Fix const in repository show view
This commit is contained in:
parent
92f432b86a
commit
189bf5762e
1 changed files with 1 additions and 3 deletions
|
@ -190,7 +190,5 @@
|
|||
js_format.gsub!('%Y', 'YYYY')
|
||||
%>
|
||||
|
||||
if (typeof(formatJS) == undefined) { // Turbolinks fix
|
||||
const formatJS = "<%= js_format %>"
|
||||
}
|
||||
var formatJS = "<%= js_format %>"
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue