Open Disane87 opened 8 years ago
I have a tooltip set via:
onRegionTipShow: function(e, el, code){ var r = results; if(c =='world_mill_en'){ el.html(//el.html() '<b>'+$rootScope.countrytranslations[code]+'</b></br>'+ // '<hr>'+ (n[code] ? $translate.instant('MAP_RESTRICTIONS_IMPORT')+': <i class="fa fa-'+n[code].Import+'" aria-hidden="true"></i><br>'+ $translate.instant('MAP_RESTRICTIONS_NUTZUNG')+': <i class="fa fa-'+n[code].Dampfen+'" aria-hidden="true"></i><br>'+ $translate.instant('MAP_RESTRICTIONS_HANDEL')+': <i class="fa fa-'+n[code].Verkauf+'" aria-hidden="true"></i><br>'+ (n[code].ShowNote == 1 ? '<br><b>'+$translate.instant('MAP_RESTRICTIONS_HINWEIS')+':</b><br>'+ (n[code].Hinweis != '' ? n[code].Hinweis +'<br>' : '')+ (n[code].DampfenHinweis != '' ? n[code].DampfenHinweis +'<br>': '')+ (n[code].VerkaufHinweis != '' ? n[code].VerkaufHinweis +'<br>': '')+ (n[code].ImportHinweis != '' ? n[code].ImportHinweis +'<br>': '') : '') : '') ); }else{ // debugger; el.html(n[code].Name); }
If I click on one country, the tootip persists:
How can I hide the tooltip?
I have a tooltip set via:
If I click on one country, the tootip persists:
How can I hide the tooltip?