OSDN Git Service

bugfix...
authoritozyun <itozyun@git.sourceforge.jp>
Sat, 18 Feb 2012 13:01:33 +0000 (22:01 +0900)
committeritozyun <itozyun@git.sourceforge.jp>
Sat, 18 Feb 2012 13:01:33 +0000 (22:01 +0900)
0.4.x/javascripts/common.js

index caeb110..3ee257c 100644 (file)
@@ -597,7 +597,7 @@ pettanr.view = ( function(){
        var location = document.location.pathname,\r
                isWorkPage = location.indexOf( '\/work.html') !== -1 || location.indexOf( '\work.html') !== -1,\r
                deep =  location.indexOf( '\/diary\/') !== -1 ||\r
-                               location.indexOf( '\/text\/') !== -1 ||\r
+                               location.indexOf( '\/test\/') !== -1 ||\r
                                location.indexOf( '\/help\/') !== -1 ||\r
                                location.indexOf( '\/sitemap\/') !== -1 ||\r
                                location.indexOf( '\/wiki\/') !== -1,\r
@@ -791,7 +791,7 @@ pettanr.view = ( function(){
                item.onclick = LoginUserNavi.show;\r
                navi.appendChild( item);\r
        }\r
-       navi.style.width = ( item.offsetWidth || 80 * l) +'px';\r
+       navi.style.width = ( ( item.offsetWidth || 80) * l) +'px';\r
        location = origin = item = null;\r
        \r
        /* debug info */\r