From 6a15af722c3c29400a39d3fe9b75804f3c1c12e6 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 12 Dec 2010 01:13:59 +0100 Subject: [PATCH] Set proper default speed dial size if not set --- data/speeddial-head.html | 2 ++ 1 file changed, 2 insertions(+) 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);