OSDN Git Service

bugfix
authoritozyun <itozyun@git.sourceforge.jp>
Sat, 18 Feb 2012 12:50:28 +0000 (21:50 +0900)
committeritozyun <itozyun@git.sourceforge.jp>
Sat, 18 Feb 2012 12:50:28 +0000 (21:50 +0900)
0.4.x/javascripts/common.js

index 28f75ef..caeb110 100644 (file)
@@ -447,7 +447,7 @@ pettanr.util = ( function(){
                        }\r
                },\r
                /*\r
-                * 
+                * \r
                 */\r
                createGlobalFunction: function( _func) {\r
                        var randomKey = null;\r
@@ -791,7 +791,7 @@ pettanr.view = ( function(){
                item.onclick = LoginUserNavi.show;\r
                navi.appendChild( item);\r
        }\r
-       navi.style.width = ( item.offsetWidth * l) +'px';\r
+       navi.style.width = ( item.offsetWidth || 80 * l) +'px';\r
        location = origin = item = null;\r
        \r
        /* debug info */\r
@@ -1130,7 +1130,7 @@ pettanr.overlay = ( function(){
                }\r
        })();\r
        /*\r
-        * 
+        * \r
         */\r
 \r
        function close(){\r
@@ -1329,7 +1329,7 @@ pettanr.key = ( function(){
  * \r
  * keyEventRellay\r
  *  form -> overlay -> view\r
- * 
+ * \r
  */\r
 pettanr.form = ( function(){\r
        var     FORM_GROUP_TABLE = {},\r
@@ -1919,7 +1919,7 @@ pettanr.image = ( function(){
 \r
 \r
 /*\r
- *  Google Analytics
+ *  Google Analytics\r
  */\r
 \r
 var _gaq = _gaq || [];\r