OSDN Git Service

change just width of notification
[karesansui/karesansui.git] / karesansui / templates / default / data / js / alert.js
index 7b6a87d..3cd4ef0 100644 (file)
@@ -129,7 +129,7 @@ function show_notifications_msg(msg, status){
     if (msg == "") {
         $("#_ajax1_lock").hide();
     } else {
-        $("#_ajax1_lock .error-message").html('<span style="white-space:pre">' + msg + '</span>');
+        $("#_ajax1_lock .error-message").html('<span style="white-space:pre-wrap">' + msg + '</span>');
         $("#_ajax1_lock").show('pulsate',{times:2});
 
         if(status == 'SUCCEED'){