OSDN Git Service

Change a condition from window.innerWidth to window.opener.innerWidth.
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / documentation / help.html
index 66b0f0a..29df0d3 100644 (file)
@@ -4048,7 +4048,7 @@ var elements = window.document.getElementsByTagName('p');
 var width = 1000;
 var height = 800;
 if (window.opener) {
-       if(window.innerWidth) {
+       if(window.opener.innerWidth) {
                width = window.opener.innerWidth;
                height = window.opener.innerHeight;
        } else {