1
0
Fork 0
mirror of https://github.com/YunoHost/doc.git synced 2024-09-03 20:06:26 +02:00

[enh] Use proper jappix mini.

This commit is contained in:
opi 2016-03-22 21:33:58 +01:00
parent e2f073949c
commit 63fcf7fd1a
2 changed files with 52 additions and 50 deletions

View file

@ -146,32 +146,33 @@
});
// $(".actions").css('opacity', 0);
</script>
<script type="text/javascript" src="/jappix/javascripts/mini.min.js"></script>
<script type="text/javascript">
// Jappix mini chat
jQuery.ajaxSetup({cache: false});
jQuery.getScript("https://yunohost.org/_js/jappix_mini.js", function() {
var JAPPIX_MINI_CSS = 'http://simone.local/_css/jappix_mini.css';
var ADS_ENABLE = 'off';
var HOST_BOSH = 'https://yunohost.org/http-bind/';
JappixMini.launch({
connection: {
domain: "anonymous.yunohost.org",
},
application: {
network: {
autoconnect: false,
},
interface: {
showpane: false,
animate: false,
},
groupchat: {
open: ['support@conference.yunohost.org']
}
},
});
});
var ADS_ENABLE = 'off';
var JAPPIX_STATIC = '/jappix/';
var HOST_BOSH = 'https://im.yunohost.org/http-bind/';
var DEVELOPER = 'on';
var ANONYMOUS = 'on';
JappixMini.launch({
connection: {
domain: "anonymous.yunohost.org",
},
application: {
network: {
autoconnect: false,
},
interface: {
showpane: false,
animate: false,
},
groupchat: {
open: ['support@conference.yunohost.org']
}
},
});
</script>

View file

@ -148,32 +148,33 @@
});
// $(".actions").css('opacity', 0);
</script>
<script type="text/javascript" src="/jappix/javascripts/mini.min.js"></script>
<script type="text/javascript">
// Jappix mini chat
jQuery.ajaxSetup({cache: false});
jQuery.getScript("https://yunohost.org/_js/jappix_mini.js", function() {
var JAPPIX_MINI_CSS = 'http://simone.local/_css/jappix_mini.css';
var ADS_ENABLE = 'off';
var HOST_BOSH = 'https://yunohost.org/http-bind/';
JappixMini.launch({
connection: {
domain: "anonymous.yunohost.org",
},
application: {
network: {
autoconnect: false,
},
interface: {
showpane: false,
animate: false,
},
groupchat: {
open: ['support@conference.yunohost.org']
}
},
});
});
var ADS_ENABLE = 'off';
var JAPPIX_STATIC = '/jappix/';
var HOST_BOSH = 'https://im.yunohost.org/http-bind/';
var DEVELOPER = 'on';
var ANONYMOUS = 'on';
JappixMini.launch({
connection: {
domain: "anonymous.yunohost.org",
},
application: {
network: {
autoconnect: false,
},
interface: {
showpane: false,
animate: false,
},
groupchat: {
open: ['support@conference.yunohost.org']
}
},
});
</script>