Set proper default speed dial size if not set

This commit is contained in:
Christian Dywan 2010-12-12 01:13:59 +01:00
parent 54971fd8ae
commit 6a15af722c

View file

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