From: Christian Dywan Date: Sun, 12 Dec 2010 00:13:59 +0000 (+0100) Subject: Set proper default speed dial size if not set X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a15af722c3c29400a39d3fe9b75804f3c1c12e6;p=midori Set proper default speed dial size if not set --- 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);