mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Enable Jappix mini chat.
This commit is contained in:
parent
d2b63f2b3e
commit
c4cd82a5d7
2 changed files with 45 additions and 39 deletions
19
index.md
19
index.md
|
@ -144,29 +144,32 @@
|
||||||
scrollTop: jQuery(window).height() + 80
|
scrollTop: jQuery(window).height() + 80
|
||||||
}, 500);
|
}, 500);
|
||||||
});
|
});
|
||||||
$(".actions").css('opacity', 0);
|
// $(".actions").css('opacity', 0);
|
||||||
|
|
||||||
|
// Jappix mini chat
|
||||||
jQuery.ajaxSetup({cache: false});
|
jQuery.ajaxSetup({cache: false});
|
||||||
jQuery.getScript('https://'+ location.host +'/mini/javascripts/mini.js', function() {
|
jQuery.getScript('https://yunohost.org/_js/jappix_mini.js', function() {
|
||||||
HOST_BOSH = 'https://'+ location.host +'/http-bind/';
|
HOST_BOSH = 'https://yunohost.org/http-bind/';
|
||||||
JappixMini.launch({
|
JappixMini.launch({
|
||||||
connection: {
|
connection: {
|
||||||
domain: 'anonymous.yunohost.org'
|
domain: "anonymous.yunohost.com",
|
||||||
},
|
},
|
||||||
|
|
||||||
application: {
|
application: {
|
||||||
network: {
|
network: {
|
||||||
autoconnect: false
|
autoconnect: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
interface: {
|
interface: {
|
||||||
showpane: true,
|
showpane: false,
|
||||||
animate: true
|
animate: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
groupchat: {
|
groupchat: {
|
||||||
open: ['support@conference.yunohost.org']
|
open: ['support@conference.yunohost.org']
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
17
index_fr.md
17
index_fr.md
|
@ -147,28 +147,31 @@
|
||||||
}, 500);
|
}, 500);
|
||||||
});
|
});
|
||||||
// $(".actions").css('opacity', 0);
|
// $(".actions").css('opacity', 0);
|
||||||
|
|
||||||
|
// Jappix mini chat
|
||||||
jQuery.ajaxSetup({cache: false});
|
jQuery.ajaxSetup({cache: false});
|
||||||
jQuery.getScript('https://'+ location.host +'/mini/javascripts/mini.js', function() {
|
jQuery.getScript('https://yunohost.org/_js/jappix_mini.js', function() {
|
||||||
HOST_BOSH = 'https://'+ location.host +'/http-bind/';
|
HOST_BOSH = 'https://yunohost.org/http-bind/';
|
||||||
JappixMini.launch({
|
JappixMini.launch({
|
||||||
connection: {
|
connection: {
|
||||||
domain: 'anonymous.yunohost.org'
|
domain: "anonymous.yunohost.com",
|
||||||
},
|
},
|
||||||
|
|
||||||
application: {
|
application: {
|
||||||
network: {
|
network: {
|
||||||
autoconnect: false
|
autoconnect: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
interface: {
|
interface: {
|
||||||
showpane: true,
|
showpane: false,
|
||||||
animate: true
|
animate: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
groupchat: {
|
groupchat: {
|
||||||
open: ['support@conference.yunohost.org']
|
open: ['support@conference.yunohost.org']
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue