Skip to content

Commit 7e4ca61

Browse files
author
Chris K
committed
DFL-3565 Double scrollbars when script view has horizontal scrollbar
1 parent 58bba72 commit 7e4ca61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ecma-debugger/js-source-view.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ cls.JsSourceView = function(id, name, container_class)
311311

312312
this.onresize = function(container)
313313
{
314-
// optimization - having no line wrapping allows to optimize out width-only changes
315-
if(this.isvisible() && context['container-height'] != parseInt(container.style.height))
314+
if(this.isvisible())
316315
{
317316
__view_is_destroyed = true;
318317
this.createView(container);

0 commit comments

Comments
 (0)