diff --git a/browser/src/control/jsdialog/Widget.ScrolledWindow.js b/browser/src/control/jsdialog/Widget.ScrolledWindow.js index 801f8a1a30a2..c0e4ee615580 100644 --- a/browser/src/control/jsdialog/Widget.ScrolledWindow.js +++ b/browser/src/control/jsdialog/Widget.ScrolledWindow.js @@ -77,7 +77,7 @@ function _scrolledWindowControl(parentContainer, data, builder) { scrollwindow.style.overflowX = 'scroll'; var realContentHeight = scrollwindow.scrollHeight; - var realContentWidth = scrollwindow.scrollWidth; + var realContentWidth = scrollwindow.scrollwidth; var margin = 15; @@ -94,7 +94,7 @@ function _scrolledWindowControl(parentContainer, data, builder) { var timeoutLimit = 2; var updateSize = function () { realContentHeight = scrollwindow.scrollHeight; - realContentWidth = scrollwindow.scrollWidth; + realContentWidth = scrollwindow.scrollwidth; if (realContentHeight === 0 || realContentWidth === 0) { if (timeoutLimit--) setTimeout(updateSize, 100);