diff --git a/public/home/search.js b/public/home/search.js index 9d546f56b..ebebca9f7 100644 --- a/public/home/search.js +++ b/public/home/search.js @@ -729,10 +729,10 @@ function getYPosition(e){ function showTip(tip, type,left,top) { var $tip = $('#tipmsg'); var tipmsg = document.getElementById("tipmsg") - var style="z-index:10024;top:" + top + "px;left:" + left + "px;position:absolute;width:200px;height:30px"; + var style="z-index:10024;top:" + top + "px;left:" + left + "px;position:absolute;width:200px;height:60px;vertical-align:middle;"; console.log(style); tipmsg.style = style; - var html ="
" + tip + "
" + var html ="" + tip + "
" $tip.stop(true).prop('class', 'alert alert-' + type).html(html).fadeIn(500).delay(2000).fadeOut(500); }