OSDN Git Service

version 0.5.25, fixed PenelElement.ConsoleControler
[pettanr/clientJs.git] / 0.3.0 / common.js
index 6230136..18f937c 100644 (file)
@@ -1,4 +1,4 @@
-/*\r
+/*\r
  * pettanR common.js\r
  *   version 0.1.0\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
+               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 = isWorkPage === false ?\r
                ( function(){\r