LSdefault : empty text of LStips by default

This commit is contained in:
Benjamin Renard 2017-01-25 11:59:54 +01:00
parent 355b0cf1d4
commit e76a25b22b

View file

@ -59,7 +59,7 @@ var LSdefault = new Class({
} }
document.addEvent('keyup',this.onWantMoo.bindWithEvent(this)); document.addEvent('keyup',this.onWantMoo.bindWithEvent(this));
this.LStips = new Tips('.LStips'); this.LStips = new Tips('.LStips', {'text': ""});
if ($type(this.LSjsConfig['keepLSsessionActive'])) { if ($type(this.LSjsConfig['keepLSsessionActive'])) {
this.LSjsConfig['keepLSsessionActive'] = (Math.round(this.LSjsConfig['keepLSsessionActive']*0.70)*1000); this.LSjsConfig['keepLSsessionActive'] = (Math.round(this.LSjsConfig['keepLSsessionActive']*0.70)*1000);
@ -228,7 +228,6 @@ var LSdefault = new Class({
if ($type(this.LSjsConfig['helpInfos'][group][name])) { if ($type(this.LSjsConfig['helpInfos'][group][name])) {
this.addTip(el); this.addTip(el);
el.store('tip:title',this.LSjsConfig['helpInfos'][group][name]); el.store('tip:title',this.LSjsConfig['helpInfos'][group][name]);
el.store('tip:text',"");
} }
} }
} }
@ -241,7 +240,6 @@ var LSdefault = new Class({
if ($type(this.LSjsConfig['helpInfos'][group])) { if ($type(this.LSjsConfig['helpInfos'][group])) {
if ($type(this.LSjsConfig['helpInfos'][group][name])) { if ($type(this.LSjsConfig['helpInfos'][group][name])) {
el.store('tip:title',this.LSjsConfig['helpInfos'][group][name]); el.store('tip:title',this.LSjsConfig['helpInfos'][group][name]);
el.store('tip:text',"");
} }
} }
} }