From 318625f7e16360c3f8a11c73897c01cd38dcda6d Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 23 Oct 2009 11:48:15 -0600 Subject: [PATCH] Remove unused variable --- imp/js/ViewPort.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/js/ViewPort.js b/imp/js/ViewPort.js index 620c2b8f2..55f378436 100644 --- a/imp/js/ViewPort.js +++ b/imp/js/ViewPort.js @@ -361,7 +361,7 @@ var ViewPort = Class.create({ return this._onResize.bind(this).defer(); } - var diff, h, setpane, + var h, setpane, c = $(this.opts.content), de = document.documentElement, lh = this._getLineHeight(); @@ -395,7 +395,7 @@ var ViewPort = Class.create({ if (setpane) { this.opts.split_pane.setStyle({ height: (this._getMaxHeight() - h - lh) + 'px' }).show(); this.split_bar.show(); - } else if (diff = de.scrollHeight - de.clientHeight) { + } else if (de.scrollHeight - de.clientHeight) { c.setStyle({ height: (lh * (this.page_size - 1)) + 'px' }); } -- 2.11.0