diff options
author | Christian Dywan <christian@twotoasts.de> | 2010-12-12 01:13:59 +0100 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2010-12-12 01:13:59 +0100 |
commit | 60999905602425c76651fed0823061eedd23f242 (patch) | |
tree | 876473004a0151305b21140f4b2c0f6a51c1b1ee /data/speeddial-head.html | |
parent | ce2d7b67f47f570aa46b5659098c5aa03b957d7b (diff) | |
download | midori-60999905602425c76651fed0823061eedd23f242.tar.gz |
Set proper default speed dial size if not set
Diffstat (limited to 'data/speeddial-head.html')
-rw-r--r-- | data/speeddial-head.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/speeddial-head.html b/data/speeddial-head.html index edf89118..bf38d672 100644 --- a/data/speeddial-head.html +++ b/data/speeddial-head.html @@ -366,6 +366,8 @@ var setSize = function () { + if (typeof sc.width == 'undefined') + sc.width = 3; var rows = Math.ceil (sc.shortcuts.length / sc.width); var size = prompt ("{enter_dial_size}", sc.width + 'x' + rows); |