stupid JS-induced bug

svn: r10075
This commit is contained in:
Eli Barzilay 2008-06-01 02:31:03 +00:00
parent 516231c1f9
commit 4f12c2351a

View File

@ -128,8 +128,8 @@
(function(){ (function(){
// Configuration options (use || in case the cookie exists but empty) // Configuration options (use || in case the cookie exists but empty)
var results_num = (GetCookie("PLT_ResultsNum", false) || 20); var results_num = (parseInt(GetCookie("PLT_ResultsNum", false)) || 20);
var type_delay = (GetCookie("PLT_TypeDelay", false) || 300) var type_delay = (parseInt(GetCookie("PLT_TypeDelay", false)) || 300);
var highlight_color = (GetCookie("PLT_HighlightColor", false) || "#ffd"); var highlight_color = (GetCookie("PLT_HighlightColor", false) || "#ffd");
var background_color = "#f8f8f8"; var background_color = "#f8f8f8";