LSdefault : empty text of LStips by default
authorBenjamin Renard <brenard@easter-eggs.com>
Wed, 25 Jan 2017 10:59:54 +0000 (11:59 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Wed, 25 Jan 2017 10:59:54 +0000 (11:59 +0100)
public_html/includes/js/LSdefault.js

index 992ea08..3a1b647 100644 (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'])) {
         this.LSjsConfig['keepLSsessionActive'] = (Math.round(this.LSjsConfig['keepLSsessionActive']*0.70)*1000);
       
       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]);
             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]);
           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',"");
             }
           }
         }
             }
           }
         }