From 76786882ff0b0afc7780559932701e4e3bb039ef Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 11 Jul 2018 20:52:46 +0900 Subject: [PATCH] =?UTF-8?q?tooltip=20html=20trim=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/js/common.js | 2 +- hwe/js/select_npc.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/js/common.js b/hwe/js/common.js index 7ee16d19..b529c5cd 100644 --- a/hwe/js/common.js +++ b/hwe/js/common.js @@ -133,7 +133,7 @@ function getIconPath(imgsvr, picture){ jQuery(function($){ $('.obj_tooltip').tooltip({ title:function(){ - return $(this).find('.tooltiptext').html(); + return $.trim($(this).find('.tooltiptext').html()); }, html:true }); diff --git a/hwe/js/select_npc.js b/hwe/js/select_npc.js index 0aaab52f..773e9bf8 100644 --- a/hwe/js/select_npc.js +++ b/hwe/js/select_npc.js @@ -121,7 +121,7 @@ function printGenerals(value){ $card.find('.select_btn').click(pickGeneral); $card.find('.obj_tooltip').tooltip({ title:function(){ - return $(this).find('.tooltiptext').html(); + return $.trim($(this).find('.tooltiptext').html()); }, html:true });