put translation javascript code in separate file
This commit is contained in:
parent
bca62e6204
commit
10001c5383
4 changed files with 8 additions and 10 deletions
|
|
@ -34,6 +34,7 @@
|
|||
//= require osem-datepickers
|
||||
//= require osem-datatables
|
||||
//= require osem-tickets
|
||||
//= require osem-translation
|
||||
|
||||
$(document).ready(function() {
|
||||
$('a[disabled=disabled]').click(function(event){
|
||||
|
|
|
|||
6
app/assets/javascripts/osem-translation.js
Normal file
6
app/assets/javascripts/osem-translation.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
window.liveSettings = {
|
||||
api_key: '',
|
||||
picker: "bottom-right",
|
||||
detectlang: true,
|
||||
autocollect: true
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue