Set proper default speed dial size if not set
This commit is contained in:
parent
54971fd8ae
commit
6a15af722c
1 changed files with 2 additions and 0 deletions
|
@ -366,6 +366,8 @@
|
||||||
|
|
||||||
var setSize = function ()
|
var setSize = function ()
|
||||||
{
|
{
|
||||||
|
if (typeof sc.width == 'undefined')
|
||||||
|
sc.width = 3;
|
||||||
var rows = Math.ceil (sc.shortcuts.length / sc.width);
|
var rows = Math.ceil (sc.shortcuts.length / sc.width);
|
||||||
var size = prompt ("{enter_dial_size}", sc.width + 'x' + rows);
|
var size = prompt ("{enter_dial_size}", sc.width + 'x' + rows);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue