fix bug "return to thumbmail image" broken in x-large
[booh] / lib / booh / html-merges.rb
index 4eacf2450e758df96f2fe0703a6732c2d8052bd7..82f24135a727366dc1b20256a2b20ac7e785f63d 100644 (file)
@@ -478,7 +478,7 @@ $thumbnails_head_code = <<'EOF'
 
 <script language="JavaScript1.1" type="text/JavaScript">
     var expires = new Date(new Date().getTime() + (30 * 86400000));  // 30 days
-    document.cookie = 'booh-preferred-size-~~theme~~=~~current_size~~'
+    document.cookie = 'booh-preferred-size-~~theme~~=~~current_size_js~~'
                       + '; expires=' + expires.toGMTString()
                       + '; path=/';
 </script>