소스 검색

update admin page

ayHaru 4 년 전
부모
커밋
59b4094d31
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      admin/templates/default/provider.successful.php

+ 4 - 4
admin/templates/default/provider.successful.php

@@ -93,11 +93,11 @@
         $("#Iframe").load(function(){
             // $(this).css("min-height", '900px')
             // $(this).css("min-width", '1650px')
-            var iframeHeight = $(this).contents().find("html").height();
-            var iframeWidth = $(this).contents().find("html").width();
+            var iframeHeight = $(this).contents().find("html").scrollHeight();
+            var iframeWidth = $(this).contents().find("html").scrollWidth();
             $(this).attr("height",iframeHeight) 
-            // $(this).attr("width",iframeWidth) 
-            console.log('iframeHeight', iframeHeight, iframeWidth, $(this).contents().find("html"));
+            $(this).attr("width",iframeWidth) 
+            // console.log('iframeHeight', iframeHeight, iframeWidth);
         });
         $('#timeSelect').change(function () {
             let val = $(this).val()