tooltip html trim 추가
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ function getIconPath(imgsvr, picture){
|
|||||||
jQuery(function($){
|
jQuery(function($){
|
||||||
$('.obj_tooltip').tooltip({
|
$('.obj_tooltip').tooltip({
|
||||||
title:function(){
|
title:function(){
|
||||||
return $(this).find('.tooltiptext').html();
|
return $.trim($(this).find('.tooltiptext').html());
|
||||||
},
|
},
|
||||||
html:true
|
html:true
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ function printGenerals(value){
|
|||||||
$card.find('.select_btn').click(pickGeneral);
|
$card.find('.select_btn').click(pickGeneral);
|
||||||
$card.find('.obj_tooltip').tooltip({
|
$card.find('.obj_tooltip').tooltip({
|
||||||
title:function(){
|
title:function(){
|
||||||
return $(this).find('.tooltiptext').html();
|
return $.trim($(this).find('.tooltiptext').html());
|
||||||
},
|
},
|
||||||
html:true
|
html:true
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user