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);