1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 20:24:12 +01:00

applied 'B' patch from Lars (not working fully)

cleaned up init() and moved all eventlisteneres code to addEventListeners()
This commit is contained in:
Martin Stubenschrott
2007-04-24 12:12:59 +00:00
parent 9a8a0b92f3
commit 9e71e74a5c
4 changed files with 120 additions and 66 deletions

View File

@@ -564,10 +564,11 @@ function preview_window_show()/*{{{*/
var height = get_pref("previewheight");
if (items > height)
items = height;
if (items < 3)
if (items < 3) // minimum of 3 entries, drop that constraint?
items = 3;
preview_window.setAttribute("rows", items.toString());
preview_window.hidden = false;
g_bufshow = false;
}/*}}}*/
// vim: set fdm=marker sw=4 ts=4 et: