From e76a25b22bf87243120fccd169285ba1801aa2e1 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 25 Jan 2017 11:59:54 +0100 Subject: [PATCH] LSdefault : empty text of LStips by default --- public_html/includes/js/LSdefault.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public_html/includes/js/LSdefault.js b/public_html/includes/js/LSdefault.js index 992ea089..3a1b6478 100644 --- a/public_html/includes/js/LSdefault.js +++ b/public_html/includes/js/LSdefault.js @@ -59,7 +59,7 @@ var LSdefault = new Class({ } document.addEvent('keyup',this.onWantMoo.bindWithEvent(this)); - this.LStips = new Tips('.LStips'); + this.LStips = new Tips('.LStips', {'text': ""}); if ($type(this.LSjsConfig['keepLSsessionActive'])) { 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])) { this.addTip(el); 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][name])) { el.store('tip:title',this.LSjsConfig['helpInfos'][group][name]); - el.store('tip:text',""); } } }