scinote-web/app/assets/javascripts/sitewide/constants.js.erb
aignatov-bio 52a2f5cd0e
Add recent protocols dropdown to task page [SCI-3417] (#1800)
* Add recent protocols dropdown to task page
2019-06-13 15:47:29 +02:00

4 lines
No EOL
167 B
Text

const globalConstants = {
name_truncation_length: <%= Constants::NAME_TRUNCATION_LENGTH %>,
is_safari: /^((?!chrome|android).)*safari/i.test(navigator.userAgent)
}