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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user