projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3bb9ce
)
Remove unused variable
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 23 Oct 2009 17:48:15 +0000
(11:48 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Sat, 24 Oct 2009 23:57:35 +0000
(17:57 -0600)
imp/js/ViewPort.js
patch
|
blob
|
history
diff --git
a/imp/js/ViewPort.js
b/imp/js/ViewPort.js
index
620c2b8
..
55f3784
100644
(file)
--- 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 (d
iff = d
e.scrollHeight - de.clientHeight) {
+ } else if (de.scrollHeight - de.clientHeight) {
c.setStyle({ height: (lh * (this.page_size - 1)) + 'px' });
}