-/*\r
+/*\r
* pettanR common.js\r
* version 0.1.0\r
* \r
}\r
\r
var location = document.location.pathname,\r
- isWorkPage = location.indexOf( 'work.html') !== -1,\r
- deep = location.indexOf( '\/diary\/') !== -1 || location.indexOf( '\/help\/') !== -1 || location.indexOf( '\/sitemap\/') !== -1;\r
+ isWorkPage = location.indexOf( '\/work.html') !== -1,\r
+ deep = location.indexOf( '\/diary\/') !== -1 ||\r
+ location.indexOf( '\/text\/') !== -1 ||\r
+ location.indexOf( '\/help\/') !== -1 ||\r
+ location.indexOf( '\/sitemap\/') !== -1 ||\r
+ location.indexOf( '\/wiki\/') !== -1;\r
\r
- var LoginUserConsole =\r
- isWorkPage === false ?\r
+ var LoginUserConsole = isWorkPage === false ?\r
( function(){\r
var _body = document.body,\r
_root = document.getElementsByTagName( 'HTML')[ 0],\r
}\r
}\r
\r
- delete this.init;\r
+ delete LoginUserConsole.init;\r
},\r
show: function(){\r
if(visible === true) return;\r
\r
_body.removeChild(filter);\r
_body.style.overflow = '';\r
- \r
+ if (_root) {\r
+ _root.style.overflow = '';\r
+ }\r
_body.removeChild(iframe);\r
\r
visible = false;\r