|
@@ -577,6 +577,7 @@ function addSliderNavDeBtn(isSmall = false) {
|
|
|
|
|
|
function onWindowResize() {
|
|
function onWindowResize() {
|
|
window.onresize = throttle(function () {
|
|
window.onresize = throttle(function () {
|
|
|
|
+ setTabGroupIframeStyle();
|
|
try {
|
|
try {
|
|
if (tweetPublishStore.showPublishDialog) {
|
|
if (tweetPublishStore.showPublishDialog) {
|
|
let dialog = document.querySelector('div[role="dialog"]');
|
|
let dialog = document.querySelector('div[role="dialog"]');
|
|
@@ -1963,7 +1964,9 @@ const addTabGroupContent = () => {
|
|
*/
|
|
*/
|
|
export const setTabGroupIframeStyle = (params) => {
|
|
export const setTabGroupIframeStyle = (params) => {
|
|
let iframeContent = document.getElementById('de-tab-group-content');
|
|
let iframeContent = document.getElementById('de-tab-group-content');
|
|
- iframeContent.style.height = document.querySelector('html').offsetHeight + 'px';
|
|
|
|
|
|
+ if(iframeContent) {
|
|
|
|
+ iframeContent.style.height = document.querySelector('html').offsetHeight + 'px';
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
export const pageJumpHandler = (params) => {
|
|
export const pageJumpHandler = (params) => {
|